网站介绍: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要怎么配置
- 链接地址:https://blog.csdn.net/weixin_39713317/article/details/117972000
- 链接标题:html引用less样式,在TSDX中引用css,less,样式文件并模块化样式-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:660
- 网站标签:txs中样式文件使用less要怎么配置