From 73a552de7f32d406e39d4875ae5914660e4f6c58 Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Thu, 1 Feb 2024 16:59:00 +0000 Subject: [PATCH] add gitignore to fresh-vitepress-site --- src/generators/fresh-vitepress-site.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generators/fresh-vitepress-site.ts b/src/generators/fresh-vitepress-site.ts index 4ede591..56c9a3a 100644 --- a/src/generators/fresh-vitepress-site.ts +++ b/src/generators/fresh-vitepress-site.ts @@ -25,6 +25,10 @@ export default defineGenerator({ await t.waitForText('Done') await t.send('pnpm docs:build') await t.waitForText('$') + await t.send( + 'wget https://github.com/vuejs/vitepress/raw/main/.gitignore -O .gitignore', + ) + await t.waitForText('$') }, staticOutputDirectory: '.vitepress/dist', frameworkUrl: 'https://vitepress.vuejs.org/',