Mobiscroll-cli and theming

Is possible choose a custom theme to install with mobiscroll-cli. For example Bootstrap or a custom saved theme?

Hi Mauricio,

The NPM packages are only containing the built in themes.
To use custom themes, you will need to download a custom package, and use the CLI to configure it, just pass the --no-npm flag.

Here are the steps to follow:

  1. Use our download builder to download a package containing the custom themes and components you need (make sure to include the custom themes).

  2. From the downloaded package copy the lib folder inside your apps src folder.

  3. Run the mobiscroll config {framework} --no-npm (where {framework} is Angular, Ionic or React ) command to configure your app to use the downloaded package (make sure to use the latest @mobiscroll/cli version).

This will create a local NPM package and configure your package.json to use that, so your code using Mobiscroll can remain the same, including the imports.

Let me know how it goes.


So many thanks.

You save my day.

Welcome Mauricio :+1:
If there is anything I can do to help, make sure to let me know.