From 037dfcf1ca63b3834221bb1cc3a7b9604d216479 Mon Sep 17 00:00:00 2001 From: melloware Date: Sat, 3 Feb 2024 08:09:42 -0500 Subject: [PATCH] Fix #5882: CodeSAndbox/StackBlitz were missing extra files (CSS) --- components/doc/common/codeeditor/templates.js | 1 + 1 file changed, 1 insertion(+) diff --git a/components/doc/common/codeeditor/templates.js b/components/doc/common/codeeditor/templates.js index 46c35743b0..1b67c9a223 100644 --- a/components/doc/common/codeeditor/templates.js +++ b/components/doc/common/codeeditor/templates.js @@ -337,6 +337,7 @@ export default defineConfig({ [`${path}App.${fileExtension}`]: { content: sources[template].replace(/^\n/, '') }, + ...extFiles, ...configuredFiles, ...(isTypeScript ? typeScriptFiles : '') };