My personal webpage, and a space I'm using to learn a little web-dev.
This site uses React with assets from Material UI.
I'm also using WAVE to ensure the website is designed with accessibility in mind.
I use Yarn to manage the project, but the steps below
will also work by replacing yarn with npm run.
All developer dependencies are listed in package.json, and setup for various
tools can be found in *.config.js files.
To install all dependencies, use:
yarn installUsing Vite, a local development version of the site can be deployed with:
yarn devA production build can be created and previewed with:
yarn build
yarn previewThe code is linted with ESLint and formatted with Prettier. The two tools are integrated, so style violations will be picked up by ESLint. To lint the code, use:
yarn lint [--fix]Providing --fix will auto-fix most issues. To format the code without
linting:
yarn formatTo add new blog posts, create a new markdown file in the top-level blog/
directory, and run:
yarn blogWhy not use [insert static site template] like a sensible person?
It's more fun this way.
All material licensed under MIT.