-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
39 lines (39 loc) · 1.36 KB
/
nuxt.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
export default {
target: 'static',
ssr: false,
head: {
titleTemplate: 'PrecisionTox Metadata Manager',
title: 'PrecisionTox Metadata Manager',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' },
{ name: 'og:title', content: 'Pretox Metadata Manager' },
{ name: 'og:type', content: 'website' },
{ name: 'og:url', content: 'https://ptmm.netlify.app/' },
{ name: 'og:image', content: '/thumbnail.png' },
{ name: 'twitter:card', content: 'summary_large_image' }
]
},
css: ["@/assets/styles/layout.css", "animate.css/animate.min.css", "@/assets/styles/colors.css"],
plugins: ["@/plugins/particles"],
components: true,
buildModules: ['@nuxtjs/eslint-module', '@nuxtjs/vuetify'],
modules: ['@nuxtjs/axios', '@nuxtjs/pwa', ['nuxt-highcharts', {}]],
axios: { baseURL: '/', headers: { common: { Accept: 'application/json' }}},
pwa: { manifest: { lang: 'en' }},
vuetify: { defaultAssets: { icons: 'fa' }},
static: { prefix: false },
srcDir: 'src/',
router: { middleware: 'auth' },
build: {
extend(config) {
config.module.rules.push({
test: /\.ya?ml$/,
type: 'json',
use: 'yaml-loader'
})
}
}
}