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
Hi there sorry to bother you but i can't get my head around the fact how this is hosted on unpkg.com and how i can clone and self-host this library. i would like to do some changes on the styling. Can you give me a quick hint about the steps i should take?
I saw that the bundle.js is also published to github-pages. Could it be imported like this:
i already tried to install the library in my project like so: npm install --save git+https://github.com/workadventure/scripting-api-extra.git
but i get errors - i guess because the map-starter-kit uses vite while here we are using webpack.
Anyways, my main question:
How can i tell workadventure (self-hosted) to not load from unpkg.com but my version? Ideally hosted with github pages. Just a few hints in the right direction would be really appreciated. thanks a lot!
The text was updated successfully, but these errors were encountered:
I've never really tried to use it. My issue is that it is hard to expose HTML files from node_modules to the public folder (given the number of different bundlers that exist). Maybe switching to Vite and providing a Vite plugin could be a solution...
Anyway, if you have a luminous idea on how to solve this, I'm all ears.
Hi there sorry to bother you but i can't get my head around the fact how this is hosted on unpkg.com and how i can clone and self-host this library. i would like to do some changes on the styling. Can you give me a quick hint about the steps i should take?
I saw that the bundle.js is also published to github-pages. Could it be imported like this:
script: https://workadventure.github.io/scripting-api-extra/bundle.js
instead of:
script: https://unpkg.com/@workadventure/scripting-api-extra@^1/dist/bundle.js
i already tried to install the library in my project like so:
npm install --save git+https://github.com/workadventure/scripting-api-extra.git
but i get errors - i guess because the map-starter-kit uses vite while here we are using webpack.
Anyways, my main question:
How can i tell workadventure (self-hosted) to not load from unpkg.com but my version? Ideally hosted with github pages. Just a few hints in the right direction would be really appreciated. thanks a lot!
The text was updated successfully, but these errors were encountered: