nextcloud / whiteboard

GNU Affero General Public License v3.0
2 stars 0 forks source link

Properly load fonts #30

Closed juliushaertl closed 1 month ago

juliushaertl commented 1 month ago

Still WIP but properly sets the base URL now.

The issue was that excalidraw was already loading the fonts on the import of App, delaying that until we actually want to render with a dynamic import is a good idea anyways since that way we can keep the bundle size initially loaded small

Currently requires manualy copying:

cp -r node_modules/@excalidraw/excalidraw/dist/excalidraw-assets dist/