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

vue.js组件化开发webpack环境搭建 #2

Closed
chenshenhai opened this issue May 7, 2016 · 0 comments
Closed

vue.js组件化开发webpack环境搭建 #2

chenshenhai opened this issue May 7, 2016 · 0 comments

Comments

@chenshenhai
Copy link
Owner

chenshenhai commented May 7, 2016

vue.js开发与webpack调试

1 webpack开发环境搭建

https://github.com/vuejs-templates/webpack

1.1 搭建步骤

  • 把github.com/vuejs-templates/webpack整个应用clone下来。
//npm安装全局vue模块 
$ npm install -g vue-cli

//创建应用环境
$ vue init webpack my-project

//进入应用环境
$ cd my-project

//加载应用环境依赖
$ npm install

//进入开发模式
$ npm run dev

组件化开发应用

http://cn.vuejs.org/guide/application.html

@chenshenhai chenshenhai changed the title vue.js开发与webpack调试 vue.js组件化开发webpack环境搭建 May 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant