|
1 | 1 | import colors from 'vuetify/es5/util/colors' |
2 | 2 |
|
3 | 3 | export default { |
4 | | - telemetry: false, |
5 | | - // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode |
6 | | - ssr: false, |
| 4 | + telemetry: false, |
| 5 | + // Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode |
| 6 | + ssr: false, |
7 | 7 |
|
8 | | - // Target: https://go.nuxtjs.dev/config-target |
9 | | - target: 'static', |
| 8 | + // Target: https://go.nuxtjs.dev/config-target |
| 9 | + target: 'static', |
10 | 10 |
|
11 | | - // Global page headers: https://go.nuxtjs.dev/config-head |
12 | | - head: { |
13 | | - titleTemplate: 'Course Offering - %s', |
14 | | - title: 'KFU', |
15 | | - meta: [ |
16 | | - { charset: 'utf-8' }, |
17 | | - { name: 'viewport', content: 'width=device-width, initial-scale=1' }, |
18 | | - { hid: 'description', name: 'description', content: '' }, |
19 | | - { name: 'format-detection', content: 'telephone=no' }, |
20 | | - ], |
21 | | - link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], |
22 | | - }, |
| 11 | + // Global page headers: https://go.nuxtjs.dev/config-head |
| 12 | + head: { |
| 13 | + titleTemplate: 'Course Offering - %s', |
| 14 | + title: 'KFU', |
| 15 | + meta: [ |
| 16 | + { charset: 'utf-8' }, |
| 17 | + { name: 'viewport', content: 'width=device-width, initial-scale=1' }, |
| 18 | + { hid: 'description', name: 'description', content: '' }, |
| 19 | + { name: 'format-detection', content: 'telephone=no' }, |
| 20 | + ], |
| 21 | + link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], |
| 22 | + }, |
23 | 23 |
|
24 | | - // Global CSS: https://go.nuxtjs.dev/config-css |
25 | | - css: [], |
| 24 | + // Global CSS: https://go.nuxtjs.dev/config-css |
| 25 | + css: [], |
26 | 26 |
|
27 | | - // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins |
28 | | - plugins: [], |
| 27 | + // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins |
| 28 | + plugins: [], |
29 | 29 |
|
30 | | - // Auto import components: https://go.nuxtjs.dev/config-components |
31 | | - components: true, |
| 30 | + // Auto import components: https://go.nuxtjs.dev/config-components |
| 31 | + components: true, |
32 | 32 |
|
33 | | - // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules |
34 | | - buildModules: [ |
35 | | - // https://go.nuxtjs.dev/typescript |
36 | | - '@nuxt/typescript-build', |
37 | | - // https://go.nuxtjs.dev/vuetify |
38 | | - '@nuxtjs/vuetify', |
39 | | - ], |
| 33 | + // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules |
| 34 | + buildModules: [ |
| 35 | + // https://go.nuxtjs.dev/typescript |
| 36 | + '@nuxt/typescript-build', |
| 37 | + // https://go.nuxtjs.dev/vuetify |
| 38 | + '@nuxtjs/vuetify', |
| 39 | + 'nuxt-compress' |
| 40 | + ], |
40 | 41 |
|
41 | | - // Modules: https://go.nuxtjs.dev/config-modules |
42 | | - modules: [ |
43 | | - // https://go.nuxtjs.dev/axios |
44 | | - '@nuxtjs/axios', |
45 | | - // https://go.nuxtjs.dev/pwa |
46 | | - '@nuxtjs/pwa', |
47 | | - ], |
| 42 | + // Modules: https://go.nuxtjs.dev/config-modules |
| 43 | + modules: [ |
| 44 | + // https://go.nuxtjs.dev/axios |
| 45 | + '@nuxtjs/axios', |
| 46 | + // https://go.nuxtjs.dev/pwa |
| 47 | + '@nuxtjs/pwa', |
| 48 | + ], |
48 | 49 |
|
49 | | - // Axios module configuration: https://go.nuxtjs.dev/config-axios |
50 | | - axios: { |
51 | | - // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 |
52 | | - baseURL: '/', |
53 | | - }, |
| 50 | + // Axios module configuration: https://go.nuxtjs.dev/config-axios |
| 51 | + axios: { |
| 52 | + // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 |
| 53 | + baseURL: '/', |
| 54 | + }, |
54 | 55 |
|
55 | | - // PWA module configuration: https://go.nuxtjs.dev/pwa |
56 | | - pwa: { |
57 | | - manifest: { |
58 | | - lang: 'en', |
59 | | - }, |
60 | | - }, |
| 56 | + // PWA module configuration: https://go.nuxtjs.dev/pwa |
| 57 | + pwa: { |
| 58 | + manifest: { |
| 59 | + lang: 'en', |
| 60 | + }, |
| 61 | + }, |
61 | 62 |
|
62 | | - // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify |
63 | | - vuetify: { |
64 | | - customVariables: ['~/assets/variables.scss'], |
65 | | - theme: { |
66 | | - dark: true, |
67 | | - themes: { |
68 | | - dark: { |
69 | | - primary: colors.blue.darken2, |
70 | | - accent: colors.grey.darken3, |
71 | | - secondary: colors.amber.darken3, |
72 | | - info: colors.teal.lighten1, |
73 | | - warning: colors.amber.base, |
74 | | - error: colors.deepOrange.accent4, |
75 | | - success: colors.green.accent3, |
76 | | - }, |
77 | | - }, |
78 | | - }, |
79 | | - }, |
| 63 | + // Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify |
| 64 | + vuetify: { |
| 65 | + customVariables: ['~/assets/variables.scss'], |
| 66 | + theme: { |
| 67 | + dark: true, |
| 68 | + themes: { |
| 69 | + dark: { |
| 70 | + primary: colors.blue.darken2, |
| 71 | + accent: colors.grey.darken3, |
| 72 | + secondary: colors.amber.darken3, |
| 73 | + info: colors.teal.lighten1, |
| 74 | + warning: colors.amber.base, |
| 75 | + error: colors.deepOrange.accent4, |
| 76 | + success: colors.green.accent3, |
| 77 | + }, |
| 78 | + }, |
| 79 | + }, |
| 80 | + }, |
80 | 81 |
|
81 | | - // Build Configuration: https://go.nuxtjs.dev/config-build |
82 | | - build: {}, |
| 82 | + // Build Configuration: https://go.nuxtjs.dev/config-build |
| 83 | + build: {}, |
83 | 84 | } |
0 commit comments