Load config.json at runtime
This commit is contained in:
parent
01c0eb503f
commit
589c52f4cd
11 changed files with 71 additions and 39 deletions
|
|
@ -1,3 +1,5 @@
|
|||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
|
||||
module.exports = {
|
||||
"transpileDependencies": [
|
||||
"vuetify"
|
||||
|
|
@ -16,7 +18,13 @@ module.exports = {
|
|||
},
|
||||
|
||||
configureWebpack: {
|
||||
devtool: 'source-map'
|
||||
devtool: 'source-map',
|
||||
plugins: [
|
||||
new CopyWebpackPlugin([{
|
||||
from: "./src/assets/config.json",
|
||||
to: "./",
|
||||
}])
|
||||
]
|
||||
},
|
||||
|
||||
devServer: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue