Vue_cli

Vue_cli

vue-cli+pug+less+vuex+vue-form+axios+lodash webpack.json

VUElopo1983 发表了文章 • 1 个评论 • 2615 次浏览 • 2017-05-03 16:31 • 来自相关话题

{
? "name": "qdcenter",
? "version": "1.0.0",
? "description": "qiduo new user center",
? "author": "lopo <lopo1983@foxmail.com>",
? "private": true,
? "scripts": {
? ? "dev": "node build/dev-server.js",
? ? "start": "node build/dev-server.js",
? ? "build": "node build/build.js"
? },
? "dependencies": {
? ? "vue": "^2.2.6",
? ? "vue-router": "^2.3.1"
? },
? "devDependencies": {
? ? "animate.css": "^3.5.2",
? ? "autoprefixer": "^6.7.2",
? ? "available": "^2.0.3",
? ? "axios": "^0.15.3",
? ? "babel-core": "^6.22.1",
? ? "babel-loader": "^6.2.10",
? ? "babel-plugin-transform-runtime": "^6.22.0",
? ? "babel-polyfill": "^6.23.0",
? ? "babel-preset-env": "^1.2.1",
? ? "babel-preset-stage-2": "^6.22.0",
? ? "babel-register": "^6.22.0",
? ? "bce-sdk-js": "^0.2.7",
? ? "bootstrap": "^3.3.7",
? ? "chalk": "^1.1.3",
? ? "connect-history-api-fallback": "^1.3.0",
? ? "copy-webpack-plugin": "^4.0.1",
? ? "css-loader": "^0.26.1",
? ? "echarts": "^3.6.1",
? ? "eventsource-polyfill": "^0.9.6",
? ? "express": "^4.14.1",
? ? "extract-text-webpack-plugin": "^2.0.0",
? ? "file-loader": "^0.10.1",
? ? "friendly-errors-webpack-plugin": "^1.1.3",
? ? "function-bind": "^1.1.0",
? ? "html-webpack-plugin": "^2.28.0",
? ? "http-proxy-middleware": "^0.17.3",
? ? "less": "^2.7.2",
? ? "less-loader": "^3.0.0",
? ? "lodash": "^4.17.4",
? ? "opn": "^4.0.2",
? ? "optimize-css-assets-webpack-plugin": "^1.3.0",
? ? "ora": "^1.1.0",
? ? "pug": "^2.0.0-beta.12",
? ? "pug-filters": "^2.1.2",
? ? "pug-loader": "^2.3.0",
? ? "rimraf": "^2.6.0",
? ? "semver": "^5.3.0",
? ? "style-loader": "^0.14.1",
? ? "url-loader": "^0.5.7",
? ? "vue": "^2.3.3",
? ? "vue-event-calendar": "^1.3.0",
? ? "vue-form": "^4.1.1",
? ? "vue-loader": "^11.1.4",
? ? "vue-router": "^2.5.3",
? ? "vue-style-loader": "^2.0.0",
? ? "vue-template-compiler": "^2.2.4",
? ? "vuex": "^2.2.1",
? ? "webpack": "^2.3.3",
? ? "webpack-dev-middleware": "^1.10.0",
? ? "webpack-hot-middleware": "^2.18.0",
? ? "webpack-merge": "^4.1.0"
? },
? "engines": {
? ? "node": ">= 4.0.0",
? ? "npm": ">= 3.0.0"
? },
? "browserslist": [
? ? "> 1%",
? ? "last 2 versions",
? ? "not ie <= 8"
? ]
}
[size=13]
[/size] 查看全部
{
? "name": "qdcenter",
? "version": "1.0.0",
? "description": "qiduo new user center",
? "author": "lopo <lopo1983@foxmail.com>",
? "private": true,
? "scripts": {
? ? "dev": "node build/dev-server.js",
? ? "start": "node build/dev-server.js",
? ? "build": "node build/build.js"
? },
? "dependencies": {
? ? "vue": "^2.2.6",
? ? "vue-router": "^2.3.1"
? },
? "devDependencies": {
? ? "animate.css": "^3.5.2",
? ? "autoprefixer": "^6.7.2",
? ? "available": "^2.0.3",
? ? "axios": "^0.15.3",
? ? "babel-core": "^6.22.1",
? ? "babel-loader": "^6.2.10",
? ? "babel-plugin-transform-runtime": "^6.22.0",
? ? "babel-polyfill": "^6.23.0",
? ? "babel-preset-env": "^1.2.1",
? ? "babel-preset-stage-2": "^6.22.0",
? ? "babel-register": "^6.22.0",
? ? "bce-sdk-js": "^0.2.7",
? ? "bootstrap": "^3.3.7",
? ? "chalk": "^1.1.3",
? ? "connect-history-api-fallback": "^1.3.0",
? ? "copy-webpack-plugin": "^4.0.1",
? ? "css-loader": "^0.26.1",
? ? "echarts": "^3.6.1",
? ? "eventsource-polyfill": "^0.9.6",
? ? "express": "^4.14.1",
? ? "extract-text-webpack-plugin": "^2.0.0",
? ? "file-loader": "^0.10.1",
? ? "friendly-errors-webpack-plugin": "^1.1.3",
? ? "function-bind": "^1.1.0",
? ? "html-webpack-plugin": "^2.28.0",
? ? "http-proxy-middleware": "^0.17.3",
? ? "less": "^2.7.2",
? ? "less-loader": "^3.0.0",
? ? "lodash": "^4.17.4",
? ? "opn": "^4.0.2",
? ? "optimize-css-assets-webpack-plugin": "^1.3.0",
? ? "ora": "^1.1.0",
? ? "pug": "^2.0.0-beta.12",
? ? "pug-filters": "^2.1.2",
? ? "pug-loader": "^2.3.0",
? ? "rimraf": "^2.6.0",
? ? "semver": "^5.3.0",
? ? "style-loader": "^0.14.1",
? ? "url-loader": "^0.5.7",
? ? "vue": "^2.3.3",
? ? "vue-event-calendar": "^1.3.0",
? ? "vue-form": "^4.1.1",
? ? "vue-loader": "^11.1.4",
? ? "vue-router": "^2.5.3",
? ? "vue-style-loader": "^2.0.0",
? ? "vue-template-compiler": "^2.2.4",
? ? "vuex": "^2.2.1",
? ? "webpack": "^2.3.3",
? ? "webpack-dev-middleware": "^1.10.0",
? ? "webpack-hot-middleware": "^2.18.0",
? ? "webpack-merge": "^4.1.0"
? },
? "engines": {
? ? "node": ">= 4.0.0",
? ? "npm": ">= 3.0.0"
? },
? "browserslist": [
? ? "> 1%",
? ? "last 2 versions",
? ? "not ie <= 8"
? ]
}
[size=13]
[/size]

VUE 开发环境搭建

VUElopo1983 发表了文章 • 0 个评论 • 2117 次浏览 • 2017-04-15 16:05 • 来自相关话题

安装Node.js
.......忽略点点 自己百度?
安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org 安装vue-cil
cnpm install -g vue-cli 切换到你的项目目录如www
cd www新建vue项目
vue init webpack demo01 一路回车(第4步ESLint 可以一路n,大师请忽略n)
?
进入新建项目
cd demo01 cnpm?install?

npm run dev
?
? 查看全部
安装Node.js
.......忽略点点 自己百度
?
安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org 
安装vue-cil
cnpm install -g vue-cli  
切换到你的项目目录如www
cd www
新建vue项目
vue init webpack demo01 
一路回车(第4步ESLint 可以一路n,大师请忽略n)
?
进入新建项目
cd demo01 
cnpm?install?

npm run dev

?
?

vue-cli+pug+less+vuex+vue-form+axios+lodash webpack.json

VUElopo1983 发表了文章 • 1 个评论 • 2615 次浏览 • 2017-05-03 16:31 • 来自相关话题

{
? "name": "qdcenter",
? "version": "1.0.0",
? "description": "qiduo new user center",
? "author": "lopo <lopo1983@foxmail.com>",
? "private": true,
? "scripts": {
? ? "dev": "node build/dev-server.js",
? ? "start": "node build/dev-server.js",
? ? "build": "node build/build.js"
? },
? "dependencies": {
? ? "vue": "^2.2.6",
? ? "vue-router": "^2.3.1"
? },
? "devDependencies": {
? ? "animate.css": "^3.5.2",
? ? "autoprefixer": "^6.7.2",
? ? "available": "^2.0.3",
? ? "axios": "^0.15.3",
? ? "babel-core": "^6.22.1",
? ? "babel-loader": "^6.2.10",
? ? "babel-plugin-transform-runtime": "^6.22.0",
? ? "babel-polyfill": "^6.23.0",
? ? "babel-preset-env": "^1.2.1",
? ? "babel-preset-stage-2": "^6.22.0",
? ? "babel-register": "^6.22.0",
? ? "bce-sdk-js": "^0.2.7",
? ? "bootstrap": "^3.3.7",
? ? "chalk": "^1.1.3",
? ? "connect-history-api-fallback": "^1.3.0",
? ? "copy-webpack-plugin": "^4.0.1",
? ? "css-loader": "^0.26.1",
? ? "echarts": "^3.6.1",
? ? "eventsource-polyfill": "^0.9.6",
? ? "express": "^4.14.1",
? ? "extract-text-webpack-plugin": "^2.0.0",
? ? "file-loader": "^0.10.1",
? ? "friendly-errors-webpack-plugin": "^1.1.3",
? ? "function-bind": "^1.1.0",
? ? "html-webpack-plugin": "^2.28.0",
? ? "http-proxy-middleware": "^0.17.3",
? ? "less": "^2.7.2",
? ? "less-loader": "^3.0.0",
? ? "lodash": "^4.17.4",
? ? "opn": "^4.0.2",
? ? "optimize-css-assets-webpack-plugin": "^1.3.0",
? ? "ora": "^1.1.0",
? ? "pug": "^2.0.0-beta.12",
? ? "pug-filters": "^2.1.2",
? ? "pug-loader": "^2.3.0",
? ? "rimraf": "^2.6.0",
? ? "semver": "^5.3.0",
? ? "style-loader": "^0.14.1",
? ? "url-loader": "^0.5.7",
? ? "vue": "^2.3.3",
? ? "vue-event-calendar": "^1.3.0",
? ? "vue-form": "^4.1.1",
? ? "vue-loader": "^11.1.4",
? ? "vue-router": "^2.5.3",
? ? "vue-style-loader": "^2.0.0",
? ? "vue-template-compiler": "^2.2.4",
? ? "vuex": "^2.2.1",
? ? "webpack": "^2.3.3",
? ? "webpack-dev-middleware": "^1.10.0",
? ? "webpack-hot-middleware": "^2.18.0",
? ? "webpack-merge": "^4.1.0"
? },
? "engines": {
? ? "node": ">= 4.0.0",
? ? "npm": ">= 3.0.0"
? },
? "browserslist": [
? ? "> 1%",
? ? "last 2 versions",
? ? "not ie <= 8"
? ]
}
[size=13]
[/size] 查看全部
{
? "name": "qdcenter",
? "version": "1.0.0",
? "description": "qiduo new user center",
? "author": "lopo <lopo1983@foxmail.com>",
? "private": true,
? "scripts": {
? ? "dev": "node build/dev-server.js",
? ? "start": "node build/dev-server.js",
? ? "build": "node build/build.js"
? },
? "dependencies": {
? ? "vue": "^2.2.6",
? ? "vue-router": "^2.3.1"
? },
? "devDependencies": {
? ? "animate.css": "^3.5.2",
? ? "autoprefixer": "^6.7.2",
? ? "available": "^2.0.3",
? ? "axios": "^0.15.3",
? ? "babel-core": "^6.22.1",
? ? "babel-loader": "^6.2.10",
? ? "babel-plugin-transform-runtime": "^6.22.0",
? ? "babel-polyfill": "^6.23.0",
? ? "babel-preset-env": "^1.2.1",
? ? "babel-preset-stage-2": "^6.22.0",
? ? "babel-register": "^6.22.0",
? ? "bce-sdk-js": "^0.2.7",
? ? "bootstrap": "^3.3.7",
? ? "chalk": "^1.1.3",
? ? "connect-history-api-fallback": "^1.3.0",
? ? "copy-webpack-plugin": "^4.0.1",
? ? "css-loader": "^0.26.1",
? ? "echarts": "^3.6.1",
? ? "eventsource-polyfill": "^0.9.6",
? ? "express": "^4.14.1",
? ? "extract-text-webpack-plugin": "^2.0.0",
? ? "file-loader": "^0.10.1",
? ? "friendly-errors-webpack-plugin": "^1.1.3",
? ? "function-bind": "^1.1.0",
? ? "html-webpack-plugin": "^2.28.0",
? ? "http-proxy-middleware": "^0.17.3",
? ? "less": "^2.7.2",
? ? "less-loader": "^3.0.0",
? ? "lodash": "^4.17.4",
? ? "opn": "^4.0.2",
? ? "optimize-css-assets-webpack-plugin": "^1.3.0",
? ? "ora": "^1.1.0",
? ? "pug": "^2.0.0-beta.12",
? ? "pug-filters": "^2.1.2",
? ? "pug-loader": "^2.3.0",
? ? "rimraf": "^2.6.0",
? ? "semver": "^5.3.0",
? ? "style-loader": "^0.14.1",
? ? "url-loader": "^0.5.7",
? ? "vue": "^2.3.3",
? ? "vue-event-calendar": "^1.3.0",
? ? "vue-form": "^4.1.1",
? ? "vue-loader": "^11.1.4",
? ? "vue-router": "^2.5.3",
? ? "vue-style-loader": "^2.0.0",
? ? "vue-template-compiler": "^2.2.4",
? ? "vuex": "^2.2.1",
? ? "webpack": "^2.3.3",
? ? "webpack-dev-middleware": "^1.10.0",
? ? "webpack-hot-middleware": "^2.18.0",
? ? "webpack-merge": "^4.1.0"
? },
? "engines": {
? ? "node": ">= 4.0.0",
? ? "npm": ">= 3.0.0"
? },
? "browserslist": [
? ? "> 1%",
? ? "last 2 versions",
? ? "not ie <= 8"
? ]
}
[size=13]
[/size]

VUE 开发环境搭建

VUElopo1983 发表了文章 • 0 个评论 • 2117 次浏览 • 2017-04-15 16:05 • 来自相关话题

安装Node.js
.......忽略点点 自己百度?
安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org 安装vue-cil
cnpm install -g vue-cli 切换到你的项目目录如www
cd www新建vue项目
vue init webpack demo01 一路回车(第4步ESLint 可以一路n,大师请忽略n)
?
进入新建项目
cd demo01 cnpm?install?

npm run dev
?
? 查看全部
安装Node.js
.......忽略点点 自己百度
?
安装淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org 
安装vue-cil
cnpm install -g vue-cli  
切换到你的项目目录如www
cd www
新建vue项目
vue init webpack demo01 
一路回车(第4步ESLint 可以一路n,大师请忽略n)
?
进入新建项目
cd demo01 
cnpm?install?

npm run dev

?
?