From f97df3af0e22000bd1e25a78f1be06a61e43691e Mon Sep 17 00:00:00 2001 From: "@andatoshiki" Date: Sun, 17 Sep 2023 02:03:52 -0700 Subject: [PATCH] feat(postcss): require postcss as third-party style plugin for stylizing website on top of unocss --- docs/vite.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/vite.config.ts b/docs/vite.config.ts index adc763d8..e0df6fde 100644 --- a/docs/vite.config.ts +++ b/docs/vite.config.ts @@ -26,6 +26,11 @@ export default defineConfig({ UnoCSS(), MarkdownTransform(), ], + css: { + postcss: { + plugins: [require('postcss-nested')], + }, + }, ssr: { noExternal: ['@andatoshiki/vitepress-plugin-nprogress', '@arco-design/web-vue'], },