ffplayout/nuxt.config.js

118 lines
2.7 KiB
JavaScript
Raw Normal View History

2020-01-29 11:40:15 -05:00
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 || '',
2022-07-03 15:23:34 -04:00
meta: [
{
2020-01-29 11:40:15 -05:00
charset: 'utf-8'
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1'
},
{
hid: 'description',
name: 'description',
content: process.env.npm_package_description || ''
}
],
2022-07-03 15:23:34 -04:00
link: [
{
rel: 'icon',
type: 'image/x-icon',
href: '/favicon.ico'
}
]
2020-01-29 11:40:15 -05:00
},
/*
** Customize the progress-bar color
*/
loading: {
color: '#ff9c36'
},
/*
** Global CSS
*/
2022-07-03 15:23:34 -04:00
css: ['@/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' },
{ src: '~/plugins/helpers.js' },
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 },
2021-03-23 05:40:57 -04:00
{ src: '~plugins/draggable.js', ssr: false },
2021-03-23 05:47:20 -04:00
{ src: '~plugins/lodash.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-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: '/'
2020-01-29 11:40:15 -05:00
},
dayjs: {
locales: ['en', 'de'],
defaultLocale: 'en',
2021-03-23 08:55:31 -04:00
defaultTimeZone: 'Europe/Berlin',
2022-07-03 15:23:34 -04:00
plugins: ['utc', 'timezone']
},
2020-04-08 11:23:58 -04:00
styleResources: {
2022-07-03 15:23:34 -04:00
scss: ['@/assets/css/_variables.scss', '@/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
*/
2022-07-03 15:23:34 -04:00
extend (config, ctx) {},
2022-01-30 05:14:15 -05:00
babel: { compact: true },
loaders: {
sass: {
2022-07-03 15:23:34 -04:00
implementation: require('sass')
2022-01-30 05:14:15 -05:00
},
scss: {
2022-07-03 15:23:34 -04:00
implementation: require('sass')
2022-01-30 05:14:15 -05:00
}
}
2020-01-29 11:40:15 -05:00
}
}