Monaca Onsen UI Discord Chat Github Repo

Importing Onsen-UI with ES6



  • So I’m trying to start a new app with onsen-ui, but keep running into an issue where it doesn’t recognize certain features as they are prefixed with an ons example I’m using is ons.notification.alert

    I managed to import Page & Button, but can’t seem to get the notification to work.

    Help would be awesome, thank you!


  • Onsen UI

    @Elad-Karni Notification is creating either on-alert-dialog/ons-alert-dialog-button or ons-toast so you also need to import those. If you are using the latest version, aren’t you getting an error informing about this?