Skip to content

Commit 582d119

Browse files
committed
feat: do not rely on bower ✨
1 parent 05e5ba7 commit 582d119

8 files changed

Lines changed: 17 additions & 52 deletions

File tree

.bowerrc

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
bower_components
44
dist
55
npm-debug.log
6+
index.html

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
> a easy example to use vue to implement easy web
44
55

6-
## Latest Version 0.5.0(2016/11/22)
6+
## Latest Version 0.5.1(2016/11/25)
77

8-
- 0.5.0
8+
- 0.5.1 (2016/11/25)
9+
+ do not rely on bower
10+
- 0.5.0 (2016/11/22)
911
+ use vue 2.0
1012
+ use vuex 2.0
11-
- 0.3.0
13+
- 0.3.0 (2016/09/13)
1214
+ change UI for easy-vue
1315
+ use vue-progressbar
1416
+ add loading animation component in src/components
@@ -17,16 +19,15 @@
1719
+ implements page change
1820
+ optimize UI
1921

20-
> [latest version download](https://github.com/TIGERB/easy-vue/releases/tag/v0.5.0)
22+
> [latest version download](https://github.com/TIGERB/easy-vue/releases/tag/v0.5.1)
2123
2224
## Demo
2325

2426
> <http://tigerb.github.io/easy-vue>
2527
2628
## How To Use ?
2729
1. npm install
28-
2. bower install
29-
3. build
30+
2. build:
3031
- develop environment: `DOMAIN=http://yourdomain npm run test`
3132
- production environment: `DOMAIN=http://yourdomain npm run build`
32-
4. php environment to use server.php simulate api
33+
3. php environment to use server.php simulate api

app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require('!style!css!ratchet-npm/dist/css/ratchet.css');// get ratchet
2+
require('!style!css!font-awesome/css/font-awesome.css');// get font-awesome
3+
14
var Vue    = require('vue'); // get vue
25
var App    = require('./app.vue'); // get root module
36
var store   = require('./store.js'); // get vuxe -> store

bower.json

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

index.html

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

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Learn Vue Easy",
55
"main": "index.js",
66
"scripts": {
7-
"test": "webpack -p",
8-
"build": "NODE_ENV=production webpack -p"
7+
"test": "webpack -p -d --colors",
8+
"build": "NODE_ENV=production webpack -p --colors"
99
},
1010
"author": "TIGERB<tigerbcode@gmail.com>",
1111
"license": "ISC",
@@ -30,7 +30,10 @@
3030
"webpack-dev-server": "^1.14.1"
3131
},
3232
"dependencies": {
33+
"fastclick": "^1.0.6",
3334
"fetch": "^1.0.1",
35+
"font-awesome": "^4.7.0",
36+
"ratchet-npm": "^2.0.4",
3437
"vue": "^2.0.0",
3538
"vue-infinite-scroll": "^2.0.0",
3639
"vue-progressbar": "^0.7.0",

webpack.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ var domain = process.env.DOMAIN; // your domain process.env.DOMAIN
1212
// input
1313
webpackConfig.entry  = {
1414
app:[
15-
// vender
16-
'./bower_components/ratchet/dist/css/ratchet.css',
17-
'./bower_components/font-awesome/css/font-awesome.css',
18-
1915
// main
2016
'./app.js',
2117
],

0 commit comments

Comments
 (0)