From 0bf3a205b0799e5a9e5c5deee7fc2a96814dbe3c Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 12 Sep 2022 16:35:02 +0200 Subject: Add SASS --- nuxt.config.js | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index 6b5b4fb..72fc201 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -3,49 +3,44 @@ export default { ssr: false, // Target: https://go.nuxtjs.dev/config-target - target: 'static', + target: "static", // Global page headers: https://go.nuxtjs.dev/config-head head: { - title: 'verden-ui', + title: "verden-ui", htmlAttrs: { - lang: 'en' + lang: "en", }, meta: [ - { charset: 'utf-8' }, - { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: '' }, - { name: 'format-detection', content: 'telephone=no' } + { charset: "utf-8" }, + { name: "viewport", content: "width=device-width, initial-scale=1" }, + { hid: "description", name: "description", content: "" }, + { name: "format-detection", content: "telephone=no" }, ], - link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } - ] + link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }], }, // Global CSS: https://go.nuxtjs.dev/config-css - css: [ - ], + css: [], // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins - plugins: [ - ], + plugins: [], // Auto import components: https://go.nuxtjs.dev/config-components components: true, // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules buildModules: [ - // https://go.nuxtjs.dev/eslint - '@nuxtjs/eslint-module', // https://go.nuxtjs.dev/tailwindcss - '@nuxtjs/tailwindcss' + "@nuxtjs/tailwindcss", + "@nuxtjs/style-resources", ], // Modules: https://go.nuxtjs.dev/config-modules - modules: [ - ], + modules: [], // Build Configuration: https://go.nuxtjs.dev/config-build - build: { - } -} + build: {}, + + css: ["~assets/sass/main.sass"], +}; -- cgit v1.2.3-18-g5258