搭建vue.js es6 搭建
来源:互联网 发布:后端用java还是php 编辑:程序博客网 时间:2024/05/21 06:01
0.查询npm版本:npm -v //如果<3.0.8
安装最新版本:npm i npm g
1.安装webpack:(全局安装) //查看版本:webpack -v
npm install webpack -g
2.安装vue.js //查看版本:vue -V
npm install vue -g
3.安装vue命令行工具
npm install -g vue-cli
4.创建项目:
vue init webpack es6
Project name es6
Project description es6
Author tao
Use ESLint to lint your code? n //一定选no
Pick an ESLint preset Standard
Setup unit tests with Karma + Mocha? Yes
Setup e2e tests with Nightwatch? Yes
vue-cli · Generated "es6".
To get started:
cd es6
npm install
npm run dev
Documentation can be found at https://vuejs-templates.github.io/webpack
#长时间不响应就按ctr+c
5.cd es6
6.安装package.json中的插件,cd es6
npm install
7.运行
npm run dev
8.浏览器访问:http://localhost:8080
安装最新版本:npm i npm g
1.安装webpack:(全局安装) //查看版本:webpack -v
npm install webpack -g
2.安装vue.js //查看版本:vue -V
npm install vue -g
3.安装vue命令行工具
npm install -g vue-cli
4.创建项目:
vue init webpack es6
Project name es6
Project description es6
Author tao
Use ESLint to lint your code? n //一定选no
Pick an ESLint preset Standard
Setup unit tests with Karma + Mocha? Yes
Setup e2e tests with Nightwatch? Yes
vue-cli · Generated "es6".
To get started:
cd es6
npm install
npm run dev
Documentation can be found at https://vuejs-templates.github.io/webpack
#长时间不响应就按ctr+c
5.cd es6
6.安装package.json中的插件,cd es6
npm install
7.运行
npm run dev
8.浏览器访问:http://localhost:8080
阅读全文
0 0
- 搭建vue.js es6 搭建
- Vue.js 快速搭建
- Vue.js环境搭建
- Vue.js 快速搭建
- vue.js环境搭建
- Vue.js 快速搭建
- webpack+vue.js 搭建
- Vue.js的搭建
- Vue.js 快速搭建
- vue.js环境搭建
- Vue.js 环境搭建
- 搭建vue.js环境
- vue.js脚手架搭建
- Vue.js入门环境搭建
- vue.js + webpack 环境搭建
- 搭建vue.js开发环境
- Vue.js开发环境搭建
- vue.js开发环境搭建
- C++冒泡排序(正宗版)
- 回归-线性回归
- 数组的反序用加减法实现
- 在Eclipse中自动添加注释和自定义注释风格
- Akka(3): Actor监管
- 搭建vue.js es6 搭建
- linux(九)软件包管理
- C++ 仓库管理系统 控制台
- android studio代理设置
- windows下安装MinGW(绿色)-路径配置
- time stamp convert tools 1.0.0.1 on vs2010
- 04 局部变量的空间分配及栈回收重用之汇编分析
- SVN的使用一:TortoiseSVN的下载安装
- cookie详解