amis
amis copied to clipboard
通过import导入样式, 为啥在编译是报Unexcepted character '@'
import * as React from 'react' import { render } from 'react-dom' import Hello from './page/Hello'
import 'amis/lib/themes/default.css' import './css/index.css'
render(

you may need an appropriate loader to handle this file type.
跟 amis 无关,先关了。你需要一个 css loader
明明有配置css-loader
{ test: /.css$/, use: ['style-loader', 'css-loader'], },