html引用less样式,在TSDX中引用css,less,样式文件并模块化样式-CSDN博客

网站介绍:TSDX默认是不支持引入css样式的,遇到import xxx.css 会提示:✖ Failed to compileError: Unexpected token (Note that you need plugins to import files that are not JavaScript)解决方法在项目根目录,新建tsdx.config.js:css`const postcss = r..._txs中样式文件使用less要怎么配置