added typescript
This commit is contained in:
parent
b764411d1a
commit
dfc0f719e6
4 changed files with 195 additions and 28 deletions
|
@ -1,28 +1,34 @@
|
|||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
app: {
|
||||
head: {
|
||||
charset: 'utf-8',
|
||||
viewport: "width=device-width,initial-scale=1.0",
|
||||
title: "Cinema Corona",
|
||||
link: [
|
||||
{rel: "icon", type: "image/png", href: "/favicon.png"}
|
||||
],
|
||||
},
|
||||
app: {
|
||||
head: {
|
||||
charset: "utf-8",
|
||||
viewport: "width=device-width,initial-scale=1.0",
|
||||
title: "Cinema Corona",
|
||||
link: [{ rel: "icon", type: "image/png", href: "/favicon.png" }],
|
||||
},
|
||||
modules: ["@nuxtjs/tailwindcss"],
|
||||
css: ["@/assets/css/main.css"],
|
||||
components: {
|
||||
dirs: [
|
||||
'~/components',
|
||||
'~/components/modal-content',
|
||||
'~/components/forms',
|
||||
'~/components/admin',
|
||||
]
|
||||
},
|
||||
|
||||
modules: ["@nuxtjs/tailwindcss"],
|
||||
css: ["@/assets/css/main.css"],
|
||||
compatibilityDate: "2025-04-05",
|
||||
|
||||
components: {
|
||||
dirs: [
|
||||
"~/components",
|
||||
"~/components/modal-content",
|
||||
"~/components/forms",
|
||||
"~/components/admin",
|
||||
],
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
apiURL: process.env.API_URL || "http://localhost:8000/api",
|
||||
},
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
apiURL: process.env.API_URL || "http://localhost:8000/api"
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
typescript: {
|
||||
typeCheck: true,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue