Closed bilogic closed 1 year ago
No cdn are available. This project is designed to be used with webpack/vite stack.
I haven’t time to improve lib to support cdn but PR is welcome! See you
@Romakita
Thanks for the prompt reply.
With your clear answer, what I did was go over to https://formio.tsed.io/iframe.html?viewMode=story&id=formiojs-formbuilder--sandbox&args= and extracted the CSS, hacky but seems to work!
I haven’t time to improve lib to support cdn but PR is welcome!
Maybe a compiled dist
would be sufficient for now. I hope my little hack helps someone. :)
@bilogic the compiled css by storybook can change at any time. The build isnt versionned and the will be broken if I release a new version. The correct way is to integrate a build step to push the css on a cdn :)
Yes, I do understand, I'm still assessing the suitability of form.io, and I'm not familiar with form.io nor webpack, let alone integrating them together. Anyway, thank you for pointing out.
Ok quick step is to copy the generated css file by storybook and push it on cdn :)
Sounds simple enough, let me get to it. Thank you.
Hi,
There is a simple example located here https://formio.github.io/formio.js/
It uses the CSS https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css Is there tailwind equivalent CDN link to replace the bootstrap CSS?
Thank you.