Skip to content

Commit

Permalink
chore(docs): make sure api pages are generated before vite-plugin-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Oct 6, 2023
1 parent f48eb8e commit 408aba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docs/build/api-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ async function generateFiles () {
export default function Api (): Plugin {
return {
name: 'vuetify:api',
async configResolved () {
enforce: 'pre',
async config () {
rimraf.sync(API_PAGES_ROOT)

await generateFiles()
Expand Down

0 comments on commit 408aba9

Please # to comment.