diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:16:30 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-08-30 10:16:30 +0200 |
commit | e8856e4713057bf3c904d1f0a312eaf5a4251d47 (patch) | |
tree | c9b460b23a7caa78945b57355d5ce45e03d14346 | |
parent | 768b047e89f419deca3ddd00af7cb75209de97b6 (diff) | |
download | puszcza-e8856e4713057bf3c904d1f0a312eaf5a4251d47.tar.gz puszcza-e8856e4713057bf3c904d1f0a312eaf5a4251d47.zip |
Fix font
-rw-r--r-- | netlify.toml | 4 | ||||
-rw-r--r-- | nuxt.config.js | 69 |
2 files changed, 40 insertions, 33 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..3a88ace --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + +publish = "dist/" +command = "npm run generate" \ No newline at end of file diff --git a/nuxt.config.js b/nuxt.config.js index 48f1978..850042e 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,61 +1,64 @@ - export default { mode: 'universal', /* - ** Headers of the page - */ + ** 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 || '' } + { + hid: 'description', + name: 'description', + content: process.env.npm_package_description || '' + } ], link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } + { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, + { + href: + 'https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap', + rel: 'stylesheet' + } ] }, /* - ** Customize the progress-bar color - */ + ** Customize the progress-bar color + */ loading: { color: '#fff' }, /* - ** Global CSS - */ - css: [ - ], + ** Global CSS + */ + css: [], /* - ** Plugins to load before mounting the App - */ - plugins: [ - ], + ** Plugins to load before mounting the App + */ + plugins: [], /* - ** Nuxt.js dev-modules - */ - buildModules: [ - ], + ** Nuxt.js dev-modules + */ + buildModules: [], /* - ** Nuxt.js modules - */ + ** Nuxt.js modules + */ modules: [ // Doc: https://axios.nuxtjs.org/usage '@nuxtjs/axios', - '@nuxtjs/pwa', + '@nuxtjs/pwa' ], /* - ** Axios module configuration - ** See https://axios.nuxtjs.org/options - */ - axios: { - }, + ** Axios module configuration + ** See https://axios.nuxtjs.org/options + */ + axios: {}, /* - ** Build configuration - */ + ** Build configuration + */ build: { /* - ** You can extend webpack config here - */ - extend (config, ctx) { - } + ** You can extend webpack config here + */ + extend(config, ctx) {} } } |