Skip to content

Commit

Permalink
🔥 Demo ready
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmezza committed Mar 12, 2018
1 parent e48969d commit 6419f1e
Show file tree
Hide file tree
Showing 11 changed files with 165 additions and 168 deletions.
46 changes: 0 additions & 46 deletions build/webpack.ssr-no-css.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
</head>
<body>
<div id="app"></div>
<script src="/dist/build.js"></script>
<script src="build.js"></script>
</body>
</html>
5 changes: 3 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.0.0",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules"
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules && cp index.html dist/",
"gh:publish": "yarn run build && gh-pages -d dist"
},
"dependencies": {
"vue": "^2.0.0"
Expand All @@ -15,10 +16,10 @@
"cross-env": "^3.0.0",
"css-loader": "^0.25.0",
"file-loader": "^0.9.0",
"gh-pages": "^1.1.0",
"node-sass": "^4.5.0",
"sass-loader": "^5.0.1",
"vue-loader": "^11.1.4",
"vue-template-compiler": "^2.2.1",
"webpack": "^2.2.0",
"webpack-dev-server": "^2.2.0"
}
Expand Down
2 changes: 1 addition & 1 deletion demo/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
publicPath: '/',
filename: 'build.js'
},
module: {
Expand Down

0 comments on commit 6419f1e

Please sign in to comment.