- 链接地址:https://blog.csdn.net/weixin_39861823/article/details/117868770
- 链接标题:新建html5模块格式,在TSDX中引用css,less,样式文件并模块化样式-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:1815
文章浏览阅读348次。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:`const postcss = req..._note that you need plugins to import files that are not javascriot
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除