Angular构建后dist文件运行报错:at-rule or selector expectedcss(css-ruleorselectorexpected)
Angular构建后Dist文件运行的CSS语法错误及控制台问题
构建Angular应用完成后,打开dist文件夹中的index.html文件,用Live Server运行时出现以下CSS语法错误:
at-rule or selector expectedcss(css-ruleorselectorexpected)
错误触发在这行代码所在的位置:
@charset "UTF-8"
错误界面截图:
除此之外,浏览器控制台还出现其他错误,截图如下:
内容的提问来源于stack exchange,提问作者Bahy Mohamed
相关产品推荐
相关产品推荐

