Something went wrong. Try again.
my personal website cookie.ebil.club
Something went wrong. Try again.
Files
- TypeScript 53%
- Astro 31%
- CSS 16%
README.md
cookie's personal website #
yayy
under construction
development and building and stuff #
for development, if you haven't already done this, set up Lexicons so Lexicon types in TS code can be resolved:
pnpm exec lex-cli pull
pnpm exec lex-cli generate
lex.config.ts defines:
pull.sources: the sources from which to pull Lexicons JSON documentspull.outdir: which directory to store the pulled Lexicon JSON documentsgenerate.files: the pattern of Lexicon JSON files to look for as the sources for TS type file generationgenerate.outdir: where to output the generated TS type files.
to host watchful local dev server:
pnpm run dev # runs `astro dev`
to build:
pnpm run build # runs `astro build`
to host static built site (from /dist) locally (not watchful, build before hosting):
pnpm run preview # runs `astro preview`