Skip to content

Commit 93d54ad

Browse files
committed
chore: fix nuxt imports in playground
1 parent 9213fb1 commit 93d54ad

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

nuxt-playground/nuxt.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
// https://v3.nuxtjs.org/api/configuration/nuxt.config
2+
import { fileURLToPath } from 'url'
3+
24
export default defineNuxtConfig({
35
pageTransition: null,
46
layoutTransition: null,
7+
alias: {
8+
vuefire: fileURLToPath(new URL('../src/index.ts', import.meta.url)),
9+
},
510
})

nuxt-playground/tsconfig.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
{
22
// https://v3.nuxtjs.org/concepts/typescript
33
"extends": "./.nuxt/tsconfig.json",
4-
"compilerOptions": {
5-
"baseUrl": ".",
6-
"paths": {
7-
"vuefire": [
8-
"../src/index.ts"
9-
]
10-
}
11-
},
124
}

0 commit comments

Comments
 (0)