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 : '') };