If you wint your website to be composed by more than just one page we recommend using type-routearrow-up-right and github-pages-plugin-for-type-routearrow-up-right.
Let's see how to set it up.
yarn add type-route yarn add github-pages-plugin-for-type-route
Create a src/router.ts filearrow-up-right.
src/router.ts
Create test pagesarrow-up-right.
Update header and footerarrow-up-right.
Update package.jsonarrow-up-right.
Last updated 3 years ago