From 408aba9d125ff60e4d32646d002734d6d5b36986 Mon Sep 17 00:00:00 2001 From: Kael Date: Sat, 7 Oct 2023 02:49:25 +1100 Subject: [PATCH] chore(docs): make sure api pages are generated before vite-plugin-pages --- packages/docs/build/api-plugin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/docs/build/api-plugin.ts b/packages/docs/build/api-plugin.ts index d844e2dac7a..1ebd19e9c2d 100644 --- a/packages/docs/build/api-plugin.ts +++ b/packages/docs/build/api-plugin.ts @@ -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()