1.0.9 • Published 3 years ago

@kakarotto-china/vue-components v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

vue-components

Vue UI 库

开发步骤

第一步:使用 vue init webpack-simple yyl-npm-practice 初始化项目

Build Setup

# 安装dependencies
npm install

# 本地热加载模式调试 at localhost:8080
npm run dev

# 构建可用的js文件
npm run build

本地测试

修改src/main.js文件,导入example文件夹下的demo即可

For detailed explanation on how things work, consult the docs for vue-loader.

发布

发布前准备

改写package.json中的private为false,加入"main": "dist/ldc-ui.js", 其他的自定义 -> 新建.npmignore文件忽略不需要上传的文件如.* .md .yml build/ node_modules/ src/ test/

步骤

npm run build 打包 -> 注册npm账号 -> npm login 登录 -> npm publish 发布

每次发布的时候packa.json 里面的 version不能一样,不然不能发布出去,手动改下版本就行

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago