Refactor(css): Change all less to module mode

This commit is contained in:
2024-10-17 20:26:06 +08:00
parent 3d77dc793b
commit b7c3fb8524
111 changed files with 962 additions and 858 deletions

View File

@@ -1,4 +1,4 @@
import '@/components/Playground/playground.less'
import styles from '@/components/Playground/index.module.less'
import { IFiles, IImportMap, ITsconfig } from '@/components/Playground/shared'
import {
ENTRY_FILE_NAME,
@@ -77,7 +77,7 @@ const Playground = ({
}, [tsconfigRaw])
return (
<FlexBox data-component={'playground'} direction={'horizontal'}>
<FlexBox className={styles.root} direction={'horizontal'}>
<CodeEditor
tsconfig={tsconfig}
files={{