Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12. vue-cli 3.x 移动端普通单页面项目使用指南 #12

Open
Jesonhu opened this issue Oct 17, 2018 · 0 comments
Open

12. vue-cli 3.x 移动端普通单页面项目使用指南 #12

Jesonhu opened this issue Oct 17, 2018 · 0 comments
Labels
前端工程化 webpack & ts 框架&库&工具 工具:包括常用代码整理

Comments

@Jesonhu
Copy link
Owner

Jesonhu commented Oct 17, 2018

vue-cli 3.x 使用指引

准备工作

  • 查看 vue-cli 版本 vue -V

以下操作在 3.0 以上才行

初始化一个新项目

vue create project-name

选择的 features 有: Babel, Router, Vuex, CSS Pre-processors
CSS 预处理器为 SCSS

安装插件(plugins)

CubeUI

vue add cube-ui

image

安装常用依赖

npm install axios fastclick qs vant vee-validate vue-awesome-swiper vue-lazyload -S

vant具体配置参考: #13

@Jesonhu Jesonhu changed the title 12. vue-cli 3.x 普通单页面项目使用指南 12. vue-cli 3.x 移动端普通单页面项目使用指南 Oct 17, 2018
@Jesonhu Jesonhu added 框架&库&工具 工具:包括常用代码整理 前端工程化 webpack & ts labels Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
前端工程化 webpack & ts 框架&库&工具 工具:包括常用代码整理
Projects
None yet
Development

No branches or pull requests

1 participant