aboutsummaryrefslogtreecommitdiff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-04-29 10:57:21 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-04-29 10:57:21 -0400
commit37522c3ce749f6582c47e892c935297220e926dc (patch)
treed3e509449cd95fd99ad60ec08c1614f1a8145327 /nuxt.config.js
parent893f5e94ce199d4ad2a976805b06d0e95fa45888 (diff)
downloadpersonal-website-37522c3ce749f6582c47e892c935297220e926dc.tar.gz
personal-website-37522c3ce749f6582c47e892c935297220e926dc.tar.bz2
personal-website-37522c3ce749f6582c47e892c935297220e926dc.zip
Dark theme, migrated blog posts and Netlify stuff
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js74
1 files changed, 65 insertions, 9 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index cf5db84..2b4a6a4 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -1,10 +1,66 @@
+import colors from 'vuetify/es5/util/colors'
+
module.exports = {
- head: {
- titleTemplate: '%s - Andrew Lee',
- meta: [
- { charset: 'utf-8' },
- { name: 'viewport', content: 'width=device-width, initial-scale=1' },
- ],
- },
- modules: ['bootstrap-vue/nuxt', 'nuxt-mobile']
-} \ No newline at end of file
+ mode: 'universal',
+ head: {
+ titleTemplate: '%s - Andrew Lee',
+ meta: [
+ { charset: 'utf-8' },
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' }
+ ]
+ },
+ /*
+ ** Customize the progress-bar color
+ */
+ loading: { color: '#fff' },
+ /*
+ ** Global CSS
+ */
+ css: [],
+ /*
+ ** Plugins to load before mounting the App
+ */
+ plugins: [],
+ /*
+ ** Nuxt.js dev-modules
+ */
+ buildModules: [
+ // Doc: https://github.com/nuxt-community/eslint-module
+ '@nuxtjs/eslint-module',
+ '@nuxtjs/vuetify'
+ ],
+ /*
+ ** Nuxt.js modules
+ */
+ modules: ['@nuxtjs/pwa'],
+ /*
+ ** vuetify module configuration
+ ** https://github.com/nuxt-community/vuetify-module
+ */
+ vuetify: {
+ customVariables: ['~/assets/variables.scss'],
+ theme: {
+ dark: true,
+ themes: {
+ dark: {
+ primary: colors.blue.darken2,
+ accent: colors.grey.darken3,
+ secondary: colors.amber.darken3,
+ info: colors.teal.lighten1,
+ warning: colors.amber.base,
+ error: colors.deepOrange.accent4,
+ success: colors.green.accent3
+ }
+ }
+ }
+ },
+ /*
+ ** Build configuration
+ */
+ build: {
+ /*
+ ** You can extend webpack config here
+ */
+ extend (config, ctx) {}
+ }
+}