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()