Skip to content

Commit

Permalink
feat: do not rely on bower ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
TIGERB committed Nov 25, 2016
1 parent 05e5ba7 commit 582d119
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 52 deletions.
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
bower_components
dist
npm-debug.log
index.html
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
> a easy example to use vue to implement easy web

## Latest Version 0.5.0(2016/11/22)
## Latest Version 0.5.1(2016/11/25)

- 0.5.0
- 0.5.1 (2016/11/25)
+ do not rely on bower
- 0.5.0 (2016/11/22)
+ use vue 2.0
+ use vuex 2.0
- 0.3.0
- 0.3.0 (2016/09/13)
+ change UI for easy-vue
+ use vue-progressbar
+ add loading animation component in src/components
Expand All @@ -17,16 +19,15 @@
+ implements page change
+ optimize UI

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

> <http://tigerb.github.io/easy-vue>
## How To Use ?
1. npm install
2. bower install
3. build
2. build:
- develop environment: `DOMAIN=http://yourdomain npm run test`
- production environment: `DOMAIN=http://yourdomain npm run build`
4. php environment to use server.php simulate api
3. php environment to use server.php simulate api
3 changes: 3 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require('!style!css!ratchet-npm/dist/css/ratchet.css');// get ratchet
require('!style!css!font-awesome/css/font-awesome.css');// get font-awesome

var Vue    = require('vue'); // get vue
var App    = require('./app.vue'); // get root module
var store   = require('./store.js'); // get vuxe -> store
Expand Down
26 changes: 0 additions & 26 deletions bower.json

This file was deleted.

10 changes: 0 additions & 10 deletions index.html

This file was deleted.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Learn Vue Easy",
"main": "index.js",
"scripts": {
"test": "webpack -p",
"build": "NODE_ENV=production webpack -p"
"test": "webpack -p -d --colors",
"build": "NODE_ENV=production webpack -p --colors"
},
"author": "TIGERB<[email protected]>",
"license": "ISC",
Expand All @@ -30,7 +30,10 @@
"webpack-dev-server": "^1.14.1"
},
"dependencies": {
"fastclick": "^1.0.6",
"fetch": "^1.0.1",
"font-awesome": "^4.7.0",
"ratchet-npm": "^2.0.4",
"vue": "^2.0.0",
"vue-infinite-scroll": "^2.0.0",
"vue-progressbar": "^0.7.0",
Expand Down
4 changes: 0 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ var domain = process.env.DOMAIN; // your domain process.env.DOMAIN
// input
webpackConfig.entry  = {
app:[
// vender
'./bower_components/ratchet/dist/css/ratchet.css',
'./bower_components/font-awesome/css/font-awesome.css',

// main
'./app.js',
],
Expand Down

0 comments on commit 582d119

Please sign in to comment.