1

好吧,我做的一切都像安装指南 http://docs.telerik.com/devtools/nativescript-ui/getting-started

import { SIDEDRAWER_DIRECTIVES } from "nativescript-telerik-ui/sidedrawer/angular";
@NgModule({
    imports: [
        NativeScriptModule,
        NativeScriptHttpModule,
        NativeScriptFormsModule,
        CalendarModule,
        AppRoutingModule
        ],
    declarations: [
        AppComponent,
        SIDEDRAWER_DIRECTIVES,
        ],
...

我通过 NPM 安装了它,但我仍然收到 Failed to find module "nativescript-telerik-ui/sidedrawer/angular",相对于 app/tns_modules/

4

1 回答 1

1

他们改变了包裹。现在,您必须使用以下命令安装插件:

tns plugin add nativescript-ui-sidedrawer
于 2018-08-30T12:13:16.153 回答