You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTML templates in 1.0.0 use Bootstrap by default. We should add a parameter that allows it to be overridden. This should be possible by using different templates for bootstrap and material. I've done this in @oktadev/schematics using a platform option. You can read it in the schematic and switch templates.
After making these changes (and moving files), you should be able to override the platform and read from ./files/material directory instead. For example:
ng g angular-crud:crud-module hotel --platform=material
Related: ngx-hipster generates a skeleton Angular Material application with login support (for a JHipster backend).
The text was updated successfully, but these errors were encountered:
I'm starting work on this now. @manfredsteyer Do you want to save the existing layout in the templates for any reason? I could put them in a "custom" templates directory, or something similar.
The HTML templates in 1.0.0 use Bootstrap by default. We should add a parameter that allows it to be overridden. This should be possible by using different templates for bootstrap and material. I've done this in @oktadev/schematics using a
platform
option. You can read it in the schematic and switch templates.For example, change this line:
To this:
Then add a new property to
angular-crud/src/crud-module/schema.json
:After making these changes (and moving files), you should be able to override the platform and read from
./files/material
directory instead. For example:Related: ngx-hipster generates a skeleton Angular Material application with login support (for a JHipster backend).
The text was updated successfully, but these errors were encountered: