Skip to content

Commit

Permalink
fix: remove old option
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 7, 2023
1 parent 8a50efb commit 7368185
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ export function createRoutesContext(options: ResolvedOptions) {
)}`

let imports = ''
// FIXME: after demo
if (true || options.dataFetching) {
if (options.dataFetching) {
imports += `import { _HasDataLoaderMeta, _mergeRouteRecord } from 'unplugin-vue-router/runtime'\n`
}
for (const [name, path] of importList) {
Expand Down

0 comments on commit 7368185

Please sign in to comment.