Updates dependencies, removes uncessary code

This commit is contained in:
weryques 2018-05-18 12:44:07 -03:00
parent c6b3a16c4d
commit 2ff7e63d9f
5 changed files with 845 additions and 281 deletions

1062
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,9 +13,7 @@
"html-to-json": "^0.6.0",
"mdi": "^2.2.43",
"moment": "^2.22.1",
"node-sass": "^4.8.3",
"qs": "^6.5.1",
"sass-loader": "^7.0.1",
"qs": "^6.5.2",
"v-mask": "^1.3.2",
"vue": "^2.5.16",
"vue-router": "^3.0.1",
@ -23,29 +21,29 @@
"vuex": "^3.0.1"
},
"devDependencies": {
"autoprefixer": "^8.3.0",
"babel-core": "^6.26.0",
"autoprefixer": "^8.5.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-3": "^6.24.1",
"cross-env": "^5.1.4",
"cross-env": "^5.1.5",
"css-loader": "^0.28.11",
"cypress": "^2.1.0",
"element-theme-chalk": "^2.3.6",
"element-theme-chalk": "^2.3.9",
"eslint": "^4.19.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-vue": "^4.5.0",
"file-loader": "^1.1.11",
"postcss-loader": "^2.1.4",
"sass-resources-loader": "^1.3.3",
"node-sass": "^4.9.0",
"postcss-loader": "^2.1.5",
"sass-loader": "^7.0.1",
"style-loader": "^0.21.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"vue-custom-element": "^3.0.4",
"vue-loader": "^14.2.2",
"vue-custom-element": "^3.0.6",
"vue-loader": "^15.0.11",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.6.0",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3",
"webpack-dev-server": "^3.1.3"
"webpack-dev-server": "^3.1.4"
}
}

View File

@ -220,7 +220,6 @@ export default {
});
},
deleteSelectedItems() {
console.log("OI")
this.$dialog.confirm({
message: this.$i18n.get('info_warning_selected_items_delete'),
onConfirm: () => {

View File

@ -40,11 +40,7 @@
mixins: [ dateInter ],
created(){
if( this.value ){
let prep = new Date(this.value.replace(/-/g, '/')).toLocaleDateString();
console.log(prep);
this.dateValue = prep;
this.dateValue = new Date(this.value.replace(/-/g, '/')).toLocaleDateString();
}
},
data() {

View File

@ -1,5 +1,6 @@
let path = require('path');
let webpack = require('webpack');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
module.exports = {
entry: {
@ -38,14 +39,28 @@ module.exports = {
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
use: [
'vue-style-loader',
'css-loader',
'postcss-loader',
],
},
{
test: /\.scss$/,
loader: 'sass-resources-loader',
test: /\.s[ac]ss$/,
use: [
{
loader: 'style-loader',
},
{
loader: 'css-loader'
},
{
loader: 'sass-loader',
options: {
resources: path.resolve(__dirname, './src/admin/scss/_variables.scss')
includePaths: [path.resolve(__dirname, './src/admin/scss/_variables.scss')]
}
},
],
}
]
@ -84,7 +99,8 @@ if (production === true) {
}),
new webpack.LoaderOptionsPlugin({
minimize: true
})
}),
new VueLoaderPlugin(),
]);
module.exports.resolve = {
@ -103,6 +119,7 @@ if (production === true) {
NODE_ENV: JSON.stringify('development')
},
}),
new VueLoaderPlugin(),
];
module.exports.resolve = {