Files
djledda-web/README.md
2025-12-28 18:39:58 +01:00

14 lines
765 B
Markdown

This repo is for content hosted at djledda.net
The basic idea is that the `/app` folder contains shared files (in the root)
and separate Vue apps (each folder) whose code doesn't need to be built and can
be run in SSR mode or sent to the client directly, transpiled on the fly using
Deno's built in transpilation API.
# Structure
- `/app/` contains shared files and individual vue apps ('sites')
- `/app/<site>/client.ts` is the javascript entry point for the client
- `/app/<site>/server.ts` is the javascript entry point for the server
- `/public/` contains static files publicly available using the same folder structure over HTTP
- `/public/home` and `/app/home` will be remapped to root requests: a request to `/img/*` is retrieved from `/public/home/img/*`