Fix THE BUG

This commit is contained in:
weryques 2018-03-27 15:58:52 -03:00
parent 444f78dad7
commit 8048fa3d84
4 changed files with 16 additions and 15 deletions

View File

@ -43,6 +43,7 @@
"postcss-loader": "^2.1.0",
"sass-resources-loader": "^1.3.2",
"style-loader": "^0.20.3",
"uglifyjs-webpack-plugin": "^1.2.4",
"vue-custom-element": "^2.1.0",
"vue-loader": "^14.2.2",
"vue-template-compiler": "^2.5.16",

View File

@ -17,8 +17,6 @@ export default {
collectionId: Number
}
},
methods: {
},
components: {
SecondaryMenu
},

View File

@ -52,7 +52,9 @@
export default {
name: 'TainacanFormItem',
props: {
field: Object
field: {
type: Object
}
},
data(){
return {

View File

@ -1,5 +1,6 @@
let path = require('path');
let webpack = require('webpack');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
module.exports = {
entry: {
@ -55,7 +56,7 @@ module.exports = {
},
resolve: {
alias: {
'vue$': 'vue/dist/vue.js'
'vue$': 'vue/dist/vue.esm.js'
}
},
devServer: {
@ -79,16 +80,15 @@ if (process.env.NODE_ENV === 'production') {
NODE_ENV: '"production"'
}
}),
// new webpack.optimize.UglifyJsPlugin({
// compress: {
// warnings: false
// }
// }),
// new webpack.LoaderOptionsPlugin({
// minimize: true
// })
new UglifyJsPlugin({
parallel: true,
sourceMap: true,
}),
new webpack.LoaderOptionsPlugin({
minimize: true
})
]);
// module.exports.resolve.alias = {
// 'vue$': 'vue/dist/vue.min.js'
// }
module.exports.resolve.alias = {
'vue$': 'vue/dist/vue.min.js'
}
}