npm install --save vue3-sketch-ruler yarn add vue3-sketch-ruler -S 引入方式 将打包后的dist包拷贝,用import导入,支持下面两种引用方式 import SketchRule from 'vue3-sketch-ruler' import 'vue3-sketch-ruler/lib/style.css' // ts需要时引入类型
"vue3-sketch-ruler": "^1.1.6" "vue3-sketch-ruler": "^1.1.14" }, "keywords": [ "vue3", @@ -66,6 +66,5 @@ ], "bugs": { "url": "https://github.com/majun2232/vue3sketchRuler/issues" }, "homepage": "https://github.com/majun2232/vue3sketchRuler/blob/1x/README.md" ...
npm install --save vue3-sketch-ruler or yarn add vue3-sketch-ruler -S ``` ## 引入方式 将打包后的dist包拷贝,用import导入,支持下面两种引用方式 ``` import { SketchRule } from 'vue3-sketch-ruler' import 'vue3-sketch-ruler/lib/style.css' ...
.npmignore feat: 把lib加到库里面 4年前 .prettierignore init: 初始化 4年前 .stylelintignore init: 初始化 4年前 LICENSE fix: ts type 4年前 README.EN.md fix: 优化js 4年前 README.md fix: default ratio 4年前 commitlint.config.js init: 初始化 4年前 ...
npm install @tucy/vue3-color --save-dev 使用 <template> <Sketchv-model="colors"/> </template>import{defineComponent,ref}from"vue";import{Sketch}from"@tucy/vue3-color";import"@tucy/vue3-color/lib/vue3-color.css";exportdefaultdefineComponent({name:"ServeDev",components: {Sketch},setup() ...
安装Npm依赖 npm install -g @commitlint/cli @commitlint/config-conventional --save-dev 新增配置文件 在工程根目录下新建文件commitlint.config.js,写入以下内容: module.exports = { extends: ['@commitlint/config-conventional'], }; 注意:这个文件的编码格式必须是UTF-8,否则在git提交时会报错 ...
> In using vue3, the zoom operation used for page presentation. Latest version: 2.2.10, last published: 5 days ago. Start using vue3-sketch-ruler in your project by running `npm i vue3-sketch-ruler`. There are 29 other projects in the npm registry using
ruler-line-types.ts ruler-line.vue ruler-wrapper-types.ts ruler-wrapper.vue sketch-ruler-wrapper copy.vue sketch-ruler-wrapper.vue index.ts shims-vue.d.ts .eslintignore .eslintrc.js .gitignore .npmignore .prettierignore .stylelintignore .stylelintrc.js LICENSE README.EN.md...
* minify ([e8aff40](https://github.com/kakajun/vue3-sketch-ruler/commit/e8aff40d31ceecec29ed72e195afbc78e25bab8e)) * move fold ([72a0247](https://github.com/kakajun/vue3-sketch-ruler/commit/72a0247e0a823a576afd9bee98fad950f2da3213)) * npm ([ecab07a](https://github.com/kakajun...
Color Pickers for Sketch, Photoshop, Chrome & more with Vue 3. This package bring Vue 3 support to original package :vue-color Live demo Installation NPM $ npm install @lk77/vue3-color CommonJS varPhotoshop=require('@lk77/vue3-color/src/Photoshop.vue');Vue.createApp({components:{'Photosh...