update
This commit is contained in:
13
README.md
Normal file
13
README.md
Normal 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/*`
|
||||
Reference in New Issue
Block a user