Using Excalidraw embed without serving the assets from root
See original GitHub issueHey there,
I’m using the new @excalidraw/excalidraw
package currently and am having trouble integrating it as I can’t serve the assets straight from my lib and it seems this is currently mandatory.
A possible solution I could see would be to be able to specify an address and serve them from my cdn _for instance, my app runs at slite.com/app, I call the assets at slite.com/cdn/excalidraw-assets _
Cheers & keep up the good work!
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
تويتر \ Excalidraw على تويتر: "We've published 0.2.0 of our NPM ...
Start using @excalidraw/excalidraw in your project by running `npm i ... Using Excalidraw embed without serving the assets from root · Issue #2605 ......
Read more >@excalidraw/excalidraw - npm
With create-react-app, the assets can be served from public/static/js/excalidraw-assets since CRA tries to load the assets from {rootUrl}/static ...
Read more >Antoine-excalidraw NPM
Excalidraw exported as a component to directly embed in your projects ... Move the folder excalidraw-assets to the path where your assets are...
Read more >Part 6: Intro to Obsidian-Excalidraw: Embedding drawings
You can install the plugin from Community Plugins in Obsidian, or download it from GitHub here: ...
Read more >TechDocs How-To guides - Backstage.io
Note, just as it's possible to specify a subdirectory with the dir: prefix, you can also provide a path to a non-root directory...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Most of the open-source libraries like react, react-router, semantic-ui, etc use cloudflare, though react mentions unpkg in the docs but its in Cloudflare as well and pretty much every library you will find in Cloudflare CDN. We should allow the consumers to directly load from CDN as well so they can load it via a script that directly. And also we should expose dev builds as well so it can help in debugging. What do you think @dwelle?
@christophepas the main reason being since it’s an open-source CDN so we can’t assure about its uptime so users would want to host it from their own CDN rather than depending on an open-source cdn.
I didn’t get time to dig deeper to find a better solution. I will look more into it this weekend.