ffplayout/nuxt.config.js

107 lines
2.4 KiB
JavaScript
Raw Normal View History

2020-01-29 11:40:15 -05:00
require('dotenv').config()
export default {
2020-09-11 06:12:12 -04:00
ssr: false,
2020-01-29 11:40:15 -05:00
/*
** Headers of the page
*/
head: {
title: process.env.npm_package_name || '',
meta: [{
charset: 'utf-8'
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1'
},
{
hid: 'description',
name: 'description',
content: process.env.npm_package_description || ''
}
],
link: [{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico'
}]
},
/*
** Customize the progress-bar color
*/
loading: {
color: '#ff9c36'
},
/*
** Global CSS
*/
css: [
2020-04-30 11:10:34 -04:00
'@/assets/css/bootstrap.min.css'
2020-01-29 11:40:15 -05:00
],
/*
** Plugins to load before mounting the App
*/
2020-04-08 11:23:58 -04:00
plugins: [
2020-04-30 04:53:13 -04:00
{ src: '~/plugins/axios' },
2020-04-13 15:36:06 -04:00
{ src: '~/plugins/filters' },
2020-05-24 07:34:34 -04:00
{ src: '~/plugins/nuxt-client-init.js', ssr: false },
2020-04-16 12:27:03 -04:00
{ src: '~plugins/video.js', ssr: false },
2020-04-12 15:13:35 -04:00
{ src: '~plugins/scrollbar.js', ssr: false },
2020-04-16 12:27:03 -04:00
{ src: '~plugins/splitpanes.js', ssr: false },
2020-04-24 07:55:51 -04:00
{ src: '~plugins/loading.js', ssr: false },
{ src: '~/plugins/helpers.js' },
{ src: '~plugins/draggable.js', ssr: false }
2020-04-08 11:23:58 -04:00
],
2020-01-29 11:40:15 -05:00
/*
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/eslint-module
'@nuxtjs/eslint-module'
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://bootstrap-vue.js.org
'bootstrap-vue/nuxt',
'@nuxtjs/axios',
2020-07-06 08:42:39 -04:00
'@nuxtjs/dayjs',
2020-04-08 11:23:58 -04:00
'@nuxtjs/style-resources',
2020-01-29 11:40:15 -05:00
// Doc: https://github.com/nuxt-community/dotenv-module
2020-04-12 15:13:35 -04:00
'@nuxtjs/dotenv',
2020-07-06 08:42:39 -04:00
'cookie-universal-nuxt'
2020-01-29 11:40:15 -05:00
],
2020-04-08 11:23:58 -04:00
2020-01-29 11:40:15 -05:00
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {
baseURL: process.env.API_URL
},
2020-04-08 11:23:58 -04:00
styleResources: {
scss: [
'@/assets/css/_variables.scss',
2020-04-30 11:10:34 -04:00
'@/assets/scss/globals.scss'
2020-04-08 11:23:58 -04:00
]
},
2020-01-29 11:40:15 -05:00
bootstrapVue: {
bootstrapCSS: false,
2020-04-08 11:23:58 -04:00
icons: true
2020-01-29 11:40:15 -05:00
},
2020-04-08 11:23:58 -04:00
2020-01-29 11:40:15 -05:00
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
2020-08-26 03:27:24 -04:00
extend(config, ctx) {},
babel: { compact: true }
2020-01-29 11:40:15 -05:00
}
}