-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update starter app to Bootstrap 5.3.x and eliminate as much custom css as possible #346
Comments
What kinds of rules can't be used in new projects? |
I think we should also explore pulling implementation "org.webjars.npm:bootstrap:5.3.3" <asset:javascript src="webjars/jquery/3.7.1/dist/jquery.min.js" /> |
I got that working |
grails create-app
creates a nice starter example, but has a lot of css rules that are too generalized and can't be used in new projects. If we are going to utilize bootstrap, we should try to leverage Bootstrap classes where possible and limit the amount of CSS in the generated app.I propose the following:
npm run
command_wrapper.gsp
in order to use bootstrap classes. Out of the box,<f:all
should be able to render a clean bootstrap 5 form representation without need for extensive css.https://getbootstrap.com/docs/5.3/forms/layout/
https://github.com/grails/grails-forge/tree/6.2.x/grails-forge-core/src/main/resources
https://github.com/grails-profiles/web
Snippet needs class customization:
https://github.com/grails/grails-core/blob/01d3e5895aef127fe5808ba1c23f416933552d01/grails-web-common/src/main/groovy/org/grails/web/errors/ErrorsViewStackTracePrinter.groovy#L71
The text was updated successfully, but these errors were encountered: