You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot get script through cdn
Have been having an issue trying to intergrate Vue Ui libraries especially the ones which contain JS (like Vuesax-alpha, Inkline, WaveuI) into iles.
Using cdn, css comes through but the scripts don't
I tried using inkline on a normal Vue project on stackblitz, and I'm seeing some odd errors with their cdn js script. And I tried in your iles repo as well, same error. This looks like an issue with Inkline rather than with Vue/Iles. Best to raise this bug with them.
Also, their documentation does cover using inkline as a Vite plugin, so that the components can be auto-imported and tree-shaken. Any reason why you are using that way? Iles uses Vite underneath, any Vite plugins can be added to iles.config.ts under a vite property (https://iles.pages.dev/config#configuring-vite)
Also in your reproduction, if you check console, you will notice that the inkline cdn script & css are added the head as expected. So, extending the head via app.js is working the Iles way. If you check the console, you will notice the same error as above in your iles repo too.
Also, I believe when you use cdn, you will have to stick to kebabcase for components. But, I would recommend you to configure inkline the Vite way as per their docs.
iles
andvite
.Description 馃摉
Cannot get script through cdn
Have been having an issue trying to intergrate Vue Ui libraries especially the ones which contain JS (like Vuesax-alpha, Inkline, WaveuI) into iles.
Using cdn, css comes through but the scripts don't
Reproduction 馃悶
https://stackblitz.com/github/R0N1n-dev/iles-pwa
Dependencies Info
Run
npx iles info
andpnpm list
(ornpm list
) and provide the output:Logs 馃摐
If not providing a reproduction:
Output
Run
DEBUG=iles:* npm run dev
orDEBUG=iles:* npm run build
and provide the output:The 'Button' should look like this
The text was updated successfully, but these errors were encountered: