Personal website
- run
npm installto install all the dependencies of the project.- You will need to change a variable in
node_modules/@fortawesome/fontawesome-free/scss/_variables:$fa-font-pathshould be"../node_modules/@fortawesome/fontawesome-free/webfonts" !default;, not"../webfonts" !default;
- You will need to change a variable in
- run
npm run startfor quickly working on the site as that shows your edits to pages live. It does not regenerate the styles or javascript automatically though, so if you need to edit that run the command again. - run
npm run buildwhen you're ready to commit back up to the website (or if serve is being weird). Somestimes start will change more files in docs than necessary, but build ensures you only commit what's necessary.
the parcel plugin is needed to copy over webp assets.