sethsandaru / vue-form-builder

Super Form Builder built on top of Vue with Drag & Drop functionality, savable-form-schema and easy to maintain/upgrade your form.
http://vue-form-builder.sethphat.com
MIT License
413 stars 129 forks source link

Why i cant get the css styles? #63

Closed osmelg closed 3 years ago

osmelg commented 3 years ago

in main.js import {VueFormBuilderPlugin} from 'v-form-builder' import 'v-form-builder/dist/v-form-builder.css' //load CSS from your App Vue.use(VueFormBuilderPlugin, options)

Then in the Component FormBuilder v-model="configuration"></FormBuilder

The styles of the FormBuilder doenst show well Untitled

Im missing something?

sethsandaru commented 3 years ago

Hello @osmelg ,

I think I didn't mention it in the Documentation but you have to import your own Boostrap 4/Material CSS before the v-form-builder.css in order to see the styling.

I didn't and don't want to import the whole Bootstrap/Material into the Vue Form Builder because:

Thanks. Feel free to open this again if you have more questions related to this issue.

araromirichard commented 2 years ago

please can you give a guide as to how this can be done?

osmelg commented 2 years ago

I couldn't add these classes, I had to make my own formbuilder

sethsandaru commented 2 years ago

Hi all,

It works from my side and my demo projects. Please make sure that you guys have css-loader installed from your webpack

https://webpack.js.org/loaders/css-loader/

araromirichard commented 2 years ago

i would love to use vuetify framework for styling would that work? or do I still need to create my own custom stylessheet