Skip to content

I want to load by default theme bootstrap for the vueform builder #95

Discussion options

You must be logged in to vote

If you have the builder installed in your project, you must use the tailwind theme, as the builder depends on it.

If you want to include the bootstrap theme you need to set up a different project for rendering forms only.

But, just so you know, the bootstrap theme is just a set of CSS variables configured to Bootstrap's default values. If you keep tailwind in your project and set theme CSS variables at rendering time you will get the same results. If you change the order of themes available to the builder so that Bootstrap becomes the first, you will have that theme loaded by deafult. Here's an example how to do that: https://stackblitz.com/edit/github-amcuqq-fbw967kv?file=builder.config.js

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ajitkaur8b
Comment options

@adamberecz
Comment options

Answer selected by ajitkaur8b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants