Skip to content

Commit 633e686

Browse files
committed
update
1 parent 17e7c97 commit 633e686

File tree

5 files changed

+7
-32
lines changed

5 files changed

+7
-32
lines changed

css&less&webpack练习/lessproject/build/webpack.base.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// 使用 NodeJS 自带的文件路径插件
1+
// 使用 NodeJS 自带的文件路径插件
22
var path = require('path')
33
// 引入 config/index.js
44
var config = require('../config')

css&less&webpack练习/lessproject/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"lint": "eslint --ext .js,.vue src"
1111
},
1212
"dependencies": {
13-
"vue": "^2.1.0"
13+
"vue": "^2.1.0",
14+
"vue-resource": "^1.0.3",
15+
"vue-router": "^2.1.3",
16+
"vue-touch": "^1.1.0"
1417
},
1518
"devDependencies": {
1619
"autoprefixer": "^6.4.0",

css&less&webpack练习/lessproject/src/App.vue

Lines changed: 0 additions & 28 deletions
This file was deleted.

css&less&webpack练习/lessproject/src/components/App.vue

Whitespace-only changes.

css&less&webpack练习/lessproject/src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// The Vue build version to load with the `import` command
22
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
33
import Vue from 'vue'
4-
import App from './App'
4+
import App from './components/App'
5+
import Router from 'vue-router'
56

6-
/* eslint-disable no-new */
77
new Vue({
88
el: '#app',
99
template: '<App/>',

0 commit comments

Comments
 (0)