Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-template-mobile
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huanglu
vue-template-mobile
Commits
c1cdbc3b
Commit
c1cdbc3b
authored
Jul 13, 2020
by
huanglu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(readme): 新增readme文档
parent
3f54cbdf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
1 deletion
+83
-1
README.md
README.md
+83
-1
No files found.
README.md
View file @
c1cdbc3b
## 移动端模板项目
# vue 使用方法
### 项目结构
```
├── babel.config.js
├── config
│ ├── index.js // 项目配置
│ └── util.js
├── jsconfig.json
├── mock // 存放mock数据
│ └── index.js
├── package-lock.json
├── package.json
├── public
│ ├── favicon.ico
│ └── index.html
├── scripts
│ ├── skeleton-plugin.txt
│ └── skeleton.js // skeleton脚本
├── src
│ ├── App.vue
│ ├── api
│ │ └── index.js
│ ├── assets
│ │ ├── images // 存放图片
│ │ │ ├── index.js
│ │ │ ├── nocontent.png
│ │ │ ├── video_bg.png
│ │ │ └── video_play.png
│ │ └── styles // 全局样式文件
│ │ ├── clear.scss
│ │ ├── common.scss
│ │ └── variable.scss
│ ├── components // 组件
│ │ ├── error-nofity
│ │ │ ├── images
│ │ │ │ ├── close.png
│ │ │ │ └── error.png
│ │ │ ├── index.js
│ │ │ └── notify-message.vue
│ │ ├── index.js
│ │ └── video-item
│ │ └── index.vue
│ ├── constant // 常量文件夹目录
│ │ └── index.js // 统一通过该目录进行导出
│ ├── layout // 全局布局组件
│ │ └── normal-layout.vue
│ ├── main.js
│ ├── plugins // 插件
│ │ ├── index.js
│ │ └── nativebrige.js
│ ├── router
│ │ └── index.js
│ ├── store
│ │ ├── index.js
│ │ └── modules
│ │ ├── account.js
│ │ └── cart.js
│ ├── utils
│ │ ├── index.js
│ │ ├── request.js
│ │ └── storage.js
│ └── views
│ ├── about
│ │ └── index.vue
│ ├── home
│ │ └── index.vue
│ └── index
│ └── index.vue
├── vue.config.js
└── yarn.lock
```
### 配置路由的骨架屏
-
yarn dev后,在浏览器 中, cmd|ctl + enter, 或者在控制台输入 toggleBar 打开骨架屏生成页面
-
骨架屏只能在 开发阶段生成,并放在 skeleton-pages 目录下
### mock
### 环境变量
### config 配置(基本配置)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment