Navigation

    Monaca & Onsen UI
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. EdByrnee
    E
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    EdByrnee

    @EdByrnee

    0
    Reputation
    3
    Posts
    474
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    EdByrnee Follow

    Posts made by EdByrnee

    • RE: [Angular2] "ons is not defined" using latest Angular-CLI

      Sorry this was my own stupid fault I should have read the debug properly:

      needed to add

      import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from ‘@angular/core’;

      schemas: [
      CUSTOM_ELEMENTS_SCHEMA,
      ],

      to app.module.ts

      posted in Developer Corner
      E
      EdByrnee
    • RE: [Angular2] "ons is not defined" using latest Angular-CLI

      Thanks for the post, I agree the docs do need desperately updating in terms of support for Angular2 and the cli.

      I followed your steps and I managed to get past the ons is undefined error. I can call onsNotification.alert() and that all works great.

      However, I cannot seem to create any components as I am now getting
      ’ons-page is not a known element’

      I seem to have loaded everything apart from the components themselves - where there any other steps you followed apart from:

      1. npm install -save onsenui angular2-onsenui
      2. import { OnsenModule } from ‘angular2-onsenui’; (in app.module.ts)
      3. Listing OnsenModule as an import in app.module.ts
      4. The steps outlined above

      Many Thanks,
      Ed

      posted in Developer Corner
      E
      EdByrnee
    • RE: Error: No provider for OnsNavigator!

      @kasim Did you ever resolve this? I am running into similar issues with OnsNavigator and I’m not sure what I’m doing wrong.

      Thanks.

      posted in Onsen UI
      E
      EdByrnee