Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个组件 ChartContainer.tsx,我想像这样将此组件导入 index.jsx
ChartContainer.tsx
export class ChartContainer
索引.jsx
import ChartContainer from './ChartContainer'
但我有一个错误
未找到模块:无法解析
请帮助我在 jsx 文件中使用 tsx。非常感谢!