如何把一个vue组件做成npm包并发布
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
如何把一个vue组件做成npm包并发布
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
npm i hellohejia
1
1.0.0
MIT
11.6 kB
9