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:
-
Use our download builder to download a package containing the custom themes and components you need (make sure to include the custom themes).
-
From the downloaded package copy the
lib
folder inside your appssrc
folder. -
Run the
mobiscroll config {framework} --no-npm
(where{framework}
isAngular
,Ionic
orReact
) 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.
Regards,
Zsombor
So many thanks.
You save my day.
Welcome Mauricio
If there is anything I can do to help, make sure to let me know.