be36d6af3b
By moving the fallback text into its own component I was able to move the list element into the History molecule. Its API has changed accordingly. I have written tests to prevent regressions. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de> |
||
---|---|---|
.. | ||
lib | ||
routes | ||
app.d.ts | ||
app.html | ||
app.postcss | ||
hooks.server.ts | ||
README.md | ||
theme.postcss |
Source
These files here provide the server and client code of Anvil. We try to use TypeScript for an additional level of understandability. However, components cannot use TypeScript and have to be written in JavaScript in order to work with the component library. Otherwise their annotation cannot be parsed.
lib
- Files that can be referenced by$lib
. We use them for Svelte components, internationalisation and server-only modules. This approach allows us to also surface a component library.routes
- SvelteKit routingREADME.md
- This document.app.d.ts
- SvelteKit App type definitionsapp.html
- SvelteKit page templateapp.postcss
- Global styles.hooks.server.ts
- SvelteKit server hookstheme.postcss
- Theming.