#How should I serve fonts and assets for SPA using lustre?

1 messages · Page 1 of 1 (latest)

pale totem
#

I'm trying to figure out how I should manage and serve fonts and images? Is there a common pattern here? Or should I just create another application and use for example mist to serve those files?

lethal tangle
#

How are you creating the lustre app? Are you using vite-gleam or lustre/dev?

primal cairn
#

It would depend on what your application and infra is like

#

If you have just a Lustre SPA app you could upload them all to some file host such as github pages or S3, or use a web server like caddy or nginx to serve files from a Linux server