找不到将Webpack用于Nativescript发行元素

时间:2019-06-12 14:42:22

标签: webpack nativescript

我正在尝试使用webpack构建本机脚本。我遇到很多错误。似乎不知道nativescript元素是什么。

[19-06-12 10:36:47.864] (CLI) : Can't bind to 'text' since it isn't a known property of 'Label'. ("ecked" [id]="item.id" (tap)="toggle($event)" class="far option-circle"></Button>
[19-06-12 10:36:47.864] (CLI)     <Label col="1" [ERROR ->][text]="item.text" textWrap="true" class="option-label"></Label>
[19-06-12 10:36:47.864] (CLI) </GridLayout>")
[19-06-12 10:36:47.864] (CLI) : 'GridLayout' is not a known element:
[19-06-12 10:36:47.864] (CLI) 1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
[19-06-12 10:36:47.864] (CLI) 2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("]="item.checked && checkedCorrect ? 'visible' : 'collapse'" class="option-correct fas"></Label> -->
[19-06-12 10:36:47.864] (CLI) [ERROR ->]<GridLayout #optionGrid rows="auto" columns="80,*" class="option-grid" >
[19-06-12 10:36:47.864] (CLI)     <Button col="0" [text]="")
[19-06-12 10:36:47.864] (CLI) ERROR in vendor.js from UglifyJs
[19-06-12 10:36:47.864] (CLI) Unexpected token: keyword «const» [vendor.js:188046,46]

0 个答案:

没有答案