Hello guys, been wondering if It is possible to use something like webpixels in wappler?
It uses npm install and @import for css. I’m trying to avoid using the CDN version.
Hello guys, been wondering if It is possible to use something like webpixels in wappler?
It uses npm install and @import for css. I’m trying to avoid using the CDN version.
Yes, of course but not using the UI
Thanks for your reply Teodor, that was fast!
Just noticed what you said. Tried to change an h2 to an h1 and didn’t worked.
You now any bootstrap component library that is compatible with wappler?
Not sure what you mean by “compatible with Wappler”?
Everything is compatible with wappler by including its css in the head of your page and then adding the required code on the page.
Sorry, I thought you said webpixels components were not compatible with the UI and I was trying to find compatible components.
Now I’ve realized that what you actually said is that what is not possible with the UI is the installation, right?
I’ve tried to paste @import "@webpixels/css"
inside my css file but dosnt seem to work. Any idea? Thanks!
You need to include it on your page:
<link href="https://unpkg.com/@webpixels/css@1.0/dist/index.css" rel="stylesheet">
Yeah, I managed to make it work this way. But seems is not recommended by the author cause:
- You can't customize Sass variables
- You can't change the colors, typography
- You can't customize components properties
- You can't create new themes
- You can't remove unused styles
This is why I was asking if there is a way to use the @import "@webpixels/css"
approach.
Thank you!