-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
35 lines (35 loc) · 919 Bytes
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// https://nuxt.com/docs/api/configuration/nuxt-config
import {defineNuxtConfig} from "nuxt/config";
export default defineNuxtConfig({
devtools: { enabled: true },
rootDir:'./src',
css: ["~/assets/css/main.css"],
tailwindcss: {
cssPath: "~/assets/css/main.css",
configPath: "./tailwind.config.ts",
},
app: {
// pageTransition: { name: "page", mode: "out-in" },
head:{
title:'dolphin task',
charset: 'utf-8',
viewport: 'width=device-width, initial-scale=1',
link: [// Add this
{ rel: 'stylesheet', href:"https://fonts.googleapis.com/icon?family=Material+Icons"},
{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined"}
],
}
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
modules: [
'@pinia/nuxt',
],
pinia: {
storesDirs: ['./stores/**'],
},
})