vue.js - 在 NativeScript 中,为什么我会收到错误“无效字符 @”?
问题描述
我正在尝试获取以下代码库:
https://github.com/andreliem/vue-nativescript-getting-started
在 NativeScript Playground 中工作。
到目前为止,我有:
https://play.nativescript.org/?template=play-vue&id=TTgcmi&v=18
但 .scss 文件中的以下行:
@import '~nativescript-theme-core/scss/skins/light/index';
正在生成错误“无效字符:@
”
如何修复此错误?
解决方案
您需要在此处更新 {NS} 和所有依赖项。该代码库已有 5 个月的历史,并且仍在使用旧版本的 CSS 加载器,其中存在此问题。
运行tns update
并按照此处的说明进行操作。
推荐阅读
- mysql - 使用 ORDER BY 和 LIMIT 在 SQL 中获取错误
- r - 如何使用 map2 将列添加到数据框列表
- c++ - 即使在函数调用在 C/C++ 中结束后,函数内部声明的变量是否仍保留在堆栈中?
- reactive-programming - BlockHound 将 WebClient 的 ExchangeFunction 的 .next() 方法检测为阻塞
- javascript - 为什么
显示溢出子元素? - sql - 如何在 HANA DB 的 IN 运算符中使用变量?
- reactjs - 如何在滚动时使用 react-spring 从左到右正确移动 React 组件?
- google-sites - 将 atari-embeds.googleusercontent.com 附加到我的 API 调用的 Google 协作平台 - 如何仅使用我的域进行调用?
- typescript - 在 Nest JS 中发出 http 请求时出现 httpService 未定义错误
- android - 如果在android中将其重命名为不同的文件扩展名,如何获取实际文件类型?