mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 09:17:53 +00:00
- 在 esbuild.js 中添加 SCSS 文件处理逻辑 - 在 package.json 中添加 sass 依赖 - 新增代码使用 sass 编译 SCSS 文件,并将其注入到页面中
17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Qwen Team
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import ReactDOM from 'react-dom/client';
|
|
import { App } from './App.js';
|
|
import './App.scss';
|
|
import './ClaudeCodeStyles.css';
|
|
|
|
const container = document.getElementById('root');
|
|
if (container) {
|
|
const root = ReactDOM.createRoot(container);
|
|
root.render(<App />);
|
|
}
|