@ant-design-vue/tools
v3.1.2
Published
offline tools for vue component
Downloads
100
Readme
vc-tools
offline tools for vue component
Usage
$ vc-tools run lint: run lint by https://github.com/vuejs/eslint-plugin-vue-libs
$ vc-tools run pub: compile and npm publish
$ vc-tools run watch --out-dir=/xx: watch and compile to /xx, default to lib
$ vc-tools run build: build examples
$ vc-tools run gh-pages: push example to gh-pages
$ vc-tools run start: start dev server
package.json demo
{
"config": {
// show access log in console
"accesslog": true,
// dev server port
"port": 9528,
// webpack entry for build dist umd
"entry": {
"my-project": [
"./src/index.ts"
]
},
"parallel": ["es", "js", "css"],
// webpack output for build dist umd
"output": {},
// webpack css loader options
"css": {
"loaderOptions": {
"less": {
"options": {
"javascriptEnabled": true
}
},
"css": {
"options": {
"sourceMap": true
}
}
}
}
}
}