@@ -5,10 +5,20 @@ import Button from 'antd/lib/button';
55import 'antd/lib/button/style/index.css' ;
66import '@alipay/alex/bundle/alex.css' ;
77import '@alipay/alex/languages/html' ;
8+ import '@alipay/alex/languages/handlebars' ;
89import '@alipay/alex/languages/css' ;
10+ import '@alipay/alex/languages/less' ;
11+ import '@alipay/alex/languages/scss' ;
912import '@alipay/alex/languages/javascript' ;
13+ import '@alipay/alex/languages/typescript' ;
1014import '@alipay/alex/languages/json' ;
1115
16+ import ts from '@alipay/alex/extensions/alex.typescript-language-features-worker' ;
17+ import css from '@alipay/alex/extensions/alex.css-language-features-worker' ;
18+ import html from '@alipay/alex/extensions/alex.html-language-features-worker' ;
19+ import json from '@alipay/alex/extensions/alex.json-language-features-worker' ;
20+ import md from '@alipay/alex/extensions/alex.markdown-language-features-worker' ;
21+
1222export const layoutConfig = {
1323 [ SlotLocation . action ] : {
1424 modules : [ '' ] ,
@@ -61,8 +71,10 @@ const App: React.FC = () => {
6171 panelSizes : {
6272 [ SlotLocation . left ] : 220 ,
6373 } ,
74+ extensionMetadata : [ ts , json , html , css , md ] ,
6475 } }
6576 runtimeConfig = { {
77+ biz : 'test' ,
6678 disableModifyFileTree : true ,
6779 defaultOpenFile : 'main.js' ,
6880 workspace : {
0 commit comments