Skip to content

Commit

Permalink
Update vue-stroll
Browse files Browse the repository at this point in the history
Finish demo page.
  • Loading branch information
xiaoluoboding committed Jun 30, 2016
2 parents f5dbe6c + a25a03d commit 406be2e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
9 changes: 9 additions & 0 deletions demo/vue-stroll.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/vue-stroll.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
<app></app>
<script src="dist/build.js"></script>
<script src="dist/vue-stroll.js"></script>
</body>
</html>
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "dist/vue-stroll.js",
"scripts": {
"dev": "webpack-dev-server --inline --hot --port 8090",
"demo": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules --config webpack.config.prod.js",
"prepublish": "npm run build"
},
Expand Down
6 changes: 3 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ var webpack = require('webpack')
module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
filename: 'build.js'
path: path.resolve(__dirname, './demo'),
publicPath: '/demo/',
filename: 'vue-stroll.js'
},
resolveLoader: {
root: path.join(__dirname, 'node_modules'),
Expand Down

0 comments on commit 406be2e

Please sign in to comment.