Fix build
This commit is contained in:
parent
e139aec62d
commit
1170bb39c0
@ -5,7 +5,7 @@ const config = require('../config')
|
||||
const vueLoaderConfig = require('./vue-loader.conf')
|
||||
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '..', dir)
|
||||
return path.join(__dirname, '../cuizin/', dir)
|
||||
}
|
||||
|
||||
const createLintingRule = () => ({
|
||||
|
@ -54,7 +54,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
|
||||
// https://github.com/ampedandwired/html-webpack-plugin
|
||||
new HtmlWebpackPlugin({
|
||||
filename: 'index.html',
|
||||
template: 'index.html',
|
||||
template: 'static/index.html',
|
||||
inject: true
|
||||
}),
|
||||
// copy custom static assets
|
||||
|
@ -8,7 +8,7 @@ module.exports = {
|
||||
dev: {
|
||||
|
||||
// Paths
|
||||
assetsSubDirectory: path.resolve(__dirname, '../cuizin/static'),
|
||||
assetsSubDirectory: 'static',
|
||||
assetsPublicPath: '/',
|
||||
proxyTable: {},
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
|
||||
"start": "npm run dev",
|
||||
"lint": "eslint --ext .js,.vue src",
|
||||
"lint": "eslint --ext .js,.vue cuizin/js_src",
|
||||
"build": "node build/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user