feat: setup tailwindcss in frontend

This commit is contained in:
Florian Briand 2024-09-23 15:45:42 +02:00
parent 339377b838
commit 62decb3314
Signed by: florian_briand
GPG Key ID: CC981B9E6B98E70B
3 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -4,6 +4,9 @@ export default defineNuxtConfig({
// Enables the development server to be discoverable by other devices for mobile development // Enables the development server to be discoverable by other devices for mobile development
devServer: { host: '0.0.0.0', port: 1420 }, devServer: { host: '0.0.0.0', port: 1420 },
devtools: { enabled: true }, devtools: { enabled: true },
modules: [
'@nuxtjs/tailwindcss',
],
// Disable SSR for Tauri // Disable SSR for Tauri
ssr: false, ssr: false,
vite: { vite: {

View File

@ -13,5 +13,8 @@
"nuxt": "^3.13.0", "nuxt": "^3.13.0",
"vue": "latest", "vue": "latest",
"vue-router": "latest" "vue-router": "latest"
},
"devDependencies": {
"@nuxtjs/tailwindcss": "^6.12.1"
} }
} }