Skip to content

josephshambrook/js-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joseph Shambrook 2023

My logo in the center, on a dark blue background

My brand new website. Complete with a blog, a proper design, and (bloody finally) some sense of direction.

Try it yourself

Once you have cloned the repo locally and ran npm i (or npm install if you love tradition), the following commands become available:

# starts the dev server at http://localhost:4321
npm start

# does the same as npm start, but also runs TS type-checking at the same time
npm run dev

# builds the website in production mode
npm run build

# starts the production site at http://localhost:4321, after running the above build command
npm run preview

Tech used

Why Astro?

  • It builds to static files by default, eliminating as much JavaScript as possible.
  • It lets me use other JS frameworks/libraries like Svelte and React when I feel like it, rather than locking me in to one or the other.
  • There are nice DX features, like import aliases, file-system routing and Markdown support.
  • It is being actively developed into a framework that stands with the giants.