کار اولیه
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: "2025-07-15",
|
||||
devtools: { enabled: false },
|
||||
ssr: false,
|
||||
|
||||
modules: [
|
||||
"@nuxt/ui",
|
||||
"@pinia/nuxt",
|
||||
"@nuxt/icon",
|
||||
],
|
||||
|
||||
css: ["~/assets/css/main.css"],
|
||||
|
||||
imports: {
|
||||
dirs: ["stores", "composables", "apis"],
|
||||
},
|
||||
|
||||
colorMode: {
|
||||
preference: "light",
|
||||
fallback: "light",
|
||||
classSuffix: "",
|
||||
storageKey: "theme-mode",
|
||||
},
|
||||
|
||||
icon: {
|
||||
clientBundle: {
|
||||
scan: true,
|
||||
},
|
||||
},
|
||||
|
||||
components: [
|
||||
{
|
||||
path: "~/components/auto-import",
|
||||
extensions: ["vue"],
|
||||
pathPrefix: false,
|
||||
},
|
||||
{
|
||||
path: "~/components",
|
||||
extensions: ["vue"],
|
||||
},
|
||||
],
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
NUXT_PUBLIC_SYSTEM: process.env.NUXT_PUBLIC_SYSTEM || "school",
|
||||
NUXT_PUBLIC_BASE_URL: process.env.NUXT_PUBLIC_BASE_URL || "http://localhost:3000/",
|
||||
NUXT_PUBLIC_API_NAME: process.env.NUXT_PUBLIC_API_NAME || "api/v1",
|
||||
},
|
||||
},
|
||||
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./app", import.meta.url)),
|
||||
"~": fileURLToPath(new URL("./app", import.meta.url)),
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user