fix(nuxt): fix broken import path in alias
This commit is contained in:
parent
d3a47e1840
commit
f4ed17a893
@ -117,7 +117,7 @@ export default defineNuxtConfig({
|
|||||||
// },
|
// },
|
||||||
// ssr: false,
|
// ssr: false,
|
||||||
alias: {
|
alias: {
|
||||||
"@models": fileURLToPath(new URL("./lib/models", import.meta.url)),
|
"@models": fileURLToPath(new URL("./models", import.meta.url)),
|
||||||
"@client": fileURLToPath(new URL("./lib/client", import.meta.url)),
|
"@client": fileURLToPath(new URL("./lib/client", import.meta.url)),
|
||||||
"@server": fileURLToPath(new URL("./lib/server", import.meta.url)),
|
"@server": fileURLToPath(new URL("./lib/server", import.meta.url)),
|
||||||
"@models/*": fileURLToPath(new URL("./models/*", import.meta.url)),
|
"@models/*": fileURLToPath(new URL("./models/*", import.meta.url)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user