IntelliClass_FE/nuxt.config.ts
Timothy Yin b05f954923
feat: add authentication requirements to course preparation and resources pages
fix: update home page background image and remove unnecessary redirect code

chore: update pnpm lock file with new dependencies for auto-animate and svg spinners

delete: remove unused images from public directory

refactor: modify course and user types for better clarity and structure

feat: implement course API with CRUD operations and teacher team management

feat: create user authentication page with login functionality and validation

feat: add login state management with Pinia for user session handling

style: create reusable UI components for cards and tabs

chore: implement HTTP utility for API requests with error handling
2025-04-06 00:25:20 +08:00

47 lines
871 B
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-11-01",
devtools: { enabled: true },
ssr: false,
runtimeConfig: {
public: {
baseURL: "https://service5.fenshenzhike.com:1219/",
},
},
modules: [
"@nuxt/eslint",
"@nuxt/icon",
"@nuxt/fonts",
"@nuxt/image",
"@nuxt/test-utils",
"@nuxtjs/tailwindcss",
"shadcn-nuxt",
"@nuxtjs/color-mode",
"@pinia/nuxt",
"pinia-plugin-persistedstate",
"dayjs-nuxt",
"@formkit/auto-animate",
],
icon: {
mode: "svg",
},
colorMode: {
classSuffix: "",
},
shadcn: {
/**
* Prefix for all the imported component
*/
prefix: "",
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: "./components/ui",
},
});