my personal website cookie.ebil.club
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 documents
  • pull.outdir: which directory to store the pulled Lexicon JSON documents
  • generate.files: the pattern of Lexicon JSON files to look for as the sources for TS type file generation
  • generate.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`