This commit is contained in:
2025-12-28 18:39:58 +01:00
parent a261eb62c8
commit 1255ce4f07
8 changed files with 21 additions and 6 deletions

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
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/*`