From 8d566440825e654913e680dda972fb512773b0eb Mon Sep 17 00:00:00 2001 From: Melloware Date: Sat, 3 Feb 2024 08:10:40 -0500 Subject: [PATCH] Fix #5882: CodeSAndbox/StackBlitz were missing extra files (CSS) (#5883) --- 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 : '') };