You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
--- |
|
title: 使用 |
|
lang: zh-CN |
|
--- |
|
``` |
|
安装依赖 |
|
```bash |
|
$ yarn install |
|
or |
|
$ npm install |
|
``` |
|
## 目录结构 |
|
```bash |
|
├── docs # 使用文档 |
|
├── public |
|
│ └── favicon.png # favicon |
|
│ └── index.html # 入口 HTML |
|
├── src |
|
│ ├── assets # 本地静态资源 |
|
│ ├── components # 内置通用组件 |
|
│ ├── config # 系统配置 |
|
│ ├── layouts # 通用布局 |
|
│ ├── mock # 本地 mock 数据 |
|
│ ├── pages # 页面组件和通用模板 |
|
│ ├── plugins # vue 插件 |
|
│ ├── router # 路由配置 |
|
│ ├── services # 数据服务模块 |
|
│ ├── store # vuex 状态管理配置 |
|
│ ├── theme # 主题相关 |
|
│ ├── utils # js 工具 |
|
│ ├── App.vue # 应用入口组件 |
|
│ ├── bootstrap.js # 应用启动引导js |
|
│ └── main.js # 应用入口js |
|
├── package.json # package.json |
|
├── README.md # README.md |
|
└── vue.config.js # vue 配置文件 |
|
``` |
|
## 本地开发 |
|
启动服务 |
|
```bash |
|
$ yarn serve |
|
or |
|
$ npm run serve |
|
```
|
|
|