Skip to content
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

Suggestion for docs on how to import css #284

Open
rcackerman opened this issue Aug 15, 2020 · 2 comments
Open

Suggestion for docs on how to import css #284

rcackerman opened this issue Aug 15, 2020 · 2 comments

Comments

@rcackerman
Copy link
Contributor

Hi - I have a short suggestion for adding to the docs! This was something I struggled with a bunch.

For the main usage documentation, add one line:

import { FormeoEditor, FormeoRenderer } from 'formeo' // you have this
import "formeo/dist/formeo.min.css" // this is missing

(I'm adding this as an issue because I'm not super familiar with different packaging systems in javascript. This was required in webpacker with Rails 6.0.2.2.)

@shaunakv1
Copy link

I can vouch for this. Form editor renders wonky in rails without importing the css. Def needs to be part of the documentation.

@BintLopez
Copy link

+1 to this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants