app2/README.md
nix run .#app2-dev-server -L
To create a production version of your app:
nix build .#app2 -L
Imagine you have a resource Block that you fetch from the api, want to store globally, and have a component that displays it nicely. The naming would be as follows:
Schema is called Block and stored in src/lib/schemas/block.tsblockQuery and stored in src/lib/queries/block.tsStore class is called BlockStore and stored in src/lib/stores/block.svelte.tsBlockStore is called blockBlockComponent and stored in src/lib/components/data/block-component.svelteA Button would go in src/lib/components/ui/button/index.svelte
src/lib/components/icons, ic:sharp-banana becomes SharpBananaIcon.svelte