fix some bugs

This commit is contained in:
Amir Mohamadi
2020-06-04 14:19:39 +04:30
parent 471e982b18
commit 6d6c5d9daf
7 changed files with 302 additions and 361 deletions
+6 -4
View File
@@ -23,6 +23,7 @@ export default {
** Global CSS
*/
css: [
'element-ui/lib/theme-chalk/index.css',
'~/assets/css/bootstrap-grid-customized.css',
'~/assets/css/fontawesome/css/all.min.css',
'~/assets/sass/app.scss',
@@ -31,6 +32,7 @@ export default {
** Plugins to load before mounting the App
*/
plugins: [
'@/plugins/element-ui',
'@/plugins/gsap',
'@/plugins/scrollMagic',
'@/plugins/components'
@@ -43,8 +45,6 @@ export default {
** Nuxt.js modules
*/
modules: [
// Doc: https://bootstrap-vue.js.org
'bootstrap-vue/nuxt',
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
],
@@ -57,7 +57,8 @@ export default {
** Build configuration
*/
build: {
vendor: ["jquery", "bootstrap"],
transpile: [/^element-ui/],
vendor: ["jquery"],
plugins: [new webpack.ProvidePlugin({$: "jquery"})],
/*
** Run ESLint
@@ -81,6 +82,7 @@ export default {
},
router: {
mode: 'history',
middleware: 'routerGuards'
middleware: 'routerGuards',
linkActiveClass: 'active'
}
}