0.0.3 • Published 5 years ago
youth-ui v0.0.3
youth-ui
Vue组件库
文件结构:(✔表示添加组件需要创建或更新的部分) ├── src/ // 源码目录 │ ├── packages/ // 组件目录 │ │ ├── button/ // 组件(以 button 为例)✔ │ │ │ ├── src/ // 组件源码目录 ✔ │ │ │ │ ├── button.vue // 组件代码 ✔ │ │ │ ├── index.js // 挂载插件 ✔ │ ├── App.vue // 页面入口 │ ├── main.js // 程序入口 │ ├── index.js // (所有)插件入口 ✔ ├── index.html // 入口html文件 ├── package.json // 描述文件(更新版本号)✔ ├── webpack.config.js // 配置文件
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# 登录
npm login
# 发布
npm publish
# 安装使用
npm install youth-ui --save
For detailed explanation on how things work, consult the docs for vue-loader.