Skip to content

Commit

Permalink
chore: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 25, 2022
1 parent f62713e commit d3c8b1f
Show file tree
Hide file tree
Showing 3 changed files with 549 additions and 557 deletions.
4 changes: 2 additions & 2 deletions interactive/scripts/verify-build.ts
Expand Up @@ -20,5 +20,5 @@ if (files.length !== 1)
const file = files[0]
const content = await fs.readFile(file, 'utf8')

if (content.includes('NuxtPage'))
throw new Error('<NuxtPage/> found in the entry file, the components are probably not registed correctly')
if (!content.includes('vueApp.component("NuxtPage"'))
throw new Error('<NuxtPage/> is not registed, there is probably something wrong')
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -78,6 +78,7 @@
"lz-string": "^1.4.4",
"magic-string": "^0.26.2",
"msw": "^0.41.0",
"nuxt": "3.0.0-rc.3",
"nuxt-tsconfig-stub": "^0.0.2",
"pnpm": "^7.1.5",
"prettier": "^2.6.2",
Expand Down

0 comments on commit d3c8b1f

Please sign in to comment.