I want to load by default theme bootstrap for the vueform builder #95
-
|
also have followed all the steps in docs but getting errors like this |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I double checked and we have an incorrect information here. You need to import I make sure it gets fixed in the docs. |
Beta Was this translation helpful? Give feedback.
If you have the builder installed in your project, you must use the
tailwindtheme, as the builder depends on it.If you want to include the
bootstraptheme you need to set up a different project for rendering forms only.But, just so you know, the
bootstraptheme is just a set of CSS variables configured to Bootstrap's default values. If you keeptailwindin 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