Monaca CLI + 3rd Party Plugins



  • Just to be fair, I did try to submit this question on the Monaca website for them to answer it, but I couldn’t get the question to submit.

    My question is this: Can you add 3rd Party Cordova plugins to a project created on the Monaca CLI if you don’t have a paid plan?

    I know you need to have a paid plan on the Monaca online IDE if you want to add 3rd party plugins, but is it the same on the CLI version?

    I have a plain Cordova app, created with the “cordova create” command and one that was created via the Monaca CLI. My plugin works on the plain cordova app, but not the Monaca version, so I was wondering if that was the issue.



  • @sj.meyer Yes, that would be the issue. Any use of a non-by-default supported plugin in Monaca requires a paid developer plan. It has to do with compilation is why - I suspect.



  • @munsterlander
    Thanks, I have been breaking my brain for the last week trying to figure this one out!

    How then can I simply add Onsen-UI 2.0 to my existing Cordova project?



  • Also, to add Onsen to an existing project, use the download tab of this document: https://onsen.io/getting-started/

    If you use NPM or Bower, you can also use those.



  • @munsterlander
    Thanks again! Sorry, I saw you answered my question on the other thread as well.

    Downloaded it, will implement it now.

    Thanks!



  • @sj.meyer Also, if you want a quick way to get started, you can just add this to your project:

    <link rel="stylesheet" href="https://cdn.rawgit.com/OnsenUI/OnsenUI-dist/2.0.0/css/onsenui.css" type="text/css" media="all" />
        <link rel="stylesheet" href="https://cdn.rawgit.com/OnsenUI/OnsenUI-dist/2.0.0/css/onsen-css-components.css">
        <script src="https://cdn.rawgit.com/OnsenUI/OnsenUI-dist/2.0.0/js/onsenui.js"></script>
    

Log in to reply