1.0.0 • Published 4 years ago
illmatic-progress-bar v1.0.0
vue-component-cli
vue 单组件脚手架
命令
1.yarn install 安装依赖包
2.yarn run dev 启动测试服务(默认端口:8000)
3.yarn run build 打包
4.yarn run init 初始化包信息
5.yarn run login 登录 npm 账号
6.yarn run publish 将组件发布到 npm
使用说明
1.组件写在 src/component/src/index.vue 中。
2.组件的 name 是注册的名字。
2.打包后的文件(bundle.js)在 src/component/dist 中。
1.0.0
4 years ago