This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| css: [ | |
| { src: '~/assets/scss/navigation.scss', lang: 'scss' } | |
| ], | |
| /* | |
| ** Custom Plugin | |
| */ | |
| plugins: [ | |
| { src: '~plugins/swiper.js', ssr: false } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Vue from 'vue' | |
| import VueAwesomeSwiper from 'vue-awesome-swiper/dist/ssr' | |
| Vue.use(VueAwesomeSwiper) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| link: [ | |
| { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, | |
| { rel: 'stylesheet', type: 'text/css', href: 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.3/css/bootstrap.min.css' }, | |
| { rel: 'stylesheet', type: 'text/css', href: 'https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.7/css/swiper.css' } | |
| ] | |
| ...a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| function changeLoaderOptions (loaders) { | |
| if (loaders) { | |
| for (const loader of loaders) { | |
| if (loader.loader === 'sass-loader') { | |
| Object.assign(loader.options, { | |
| includePaths: ['./assets'], | |
| // data: '@import "_imports";' | |
| }) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| /* | |
| ** Run ESLint on save | |
| */ | |
| extend (config, ctx) { | |
| if (ctx.isDev && ctx.client) { | |
| config.module.rules.push({ | |
| enforce: 'pre', | |
| test: /\.(js|vue)$/, | |
| loader: 'eslint-loader', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| { hid: 'title', name: 'title', content: 'Nuxt.js project' } | |
| ], | |
| link: [ | |
| { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, | |
| { rel: 'stylesheet', type: 'text/css', href: 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta.3/css/bootstrap.min.css' } | |
| ] | |
| }, | |
| /* | |
| ** Custom SCSS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <!-- Navigation --> | |
| <Navigation/> | |
| <!-- Content --> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-md-9 col-lg-9"> | |
| <!-- Content --> | |
| <nuxt/> |