问题描述
在VSCode中,没有语法错误,但在CodeSandBox中,总是有一些语法错误。为什么会这样,我该如何解决?我很乐意提供任何建议。提前致谢。
This is the example of the code in CodeSandBox.
解决方法
上面评论的人是对的。
确保您的文件扩展名是 scss
而不是 css
。
在VSCode中,没有语法错误,但在CodeSandBox中,总是有一些语法错误。为什么会这样,我该如何解决?我很乐意提供任何建议。提前致谢。
This is the example of the code in CodeSandBox.
上面评论的人是对的。
确保您的文件扩展名是 scss
而不是 css
。