FrankensteinVariorum / fv-web

new web front-end for the Frankenstein Variorum project, working with Astro & React
https://frankensteinvariorum.org/
GNU Affero General Public License v3.0
2 stars 0 forks source link

Draft documentation for Astro #1

Open ebeshero opened 1 year ago

ebeshero commented 1 year ago

This could be converted to a Readme File later. But we'll just start some notes here. We are building on the Astro documentation.

Recommend we use pnpm to install, for better management of global package installation.

Layout is similar to Jekyll. See

In a layout file the title argument is defined. And it's referenced in the @title attribute on <Layout> in a page.

In a layout file we set a <slot/>, and on the page, we fill it with the structure we need.

The Typescript code from the old website works in Astro! However some of the old functions do not work in the new static environment.