We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73398a7 commit 5f85ebcCopy full SHA for 5f85ebc
1 file changed
packages/router/src/volar/entries/sfc-typed-router.ts
@@ -20,7 +20,7 @@ const plugin: VueLanguagePlugin<{ rootDir?: string }> = ({
20
config,
21
}) => {
22
// Prioritize plugin options over tsconfig
23
- const rootDir = config?.rootDir ?? compilerOptions.rootDir
+ const rootDir = config.rootDir ?? compilerOptions.rootDir
24
25
// Warn if no rootDir specified
26
if (!rootDir) {
0 commit comments