This is a Next.js project bootstrapped with create-next-app and enhanced with the Government of Canada's Web Experience Toolkit (WET) and Centrally Deployed Template Solution (CDTS) using the @arcnovus/wet-boew-react library, it also features bilingual support via next-i18next.
First, run the development server:
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
Use standard <a> tags for links, instead of the NextJS <Link> component.
Standard <a> tags will use the Next router automatically by virtue of the
linkHandler property passed to the <WetTemplate> component.
This ensures that <a> tags generated by WET will behave correctly.
To learn more, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Bilingual Support - the next-18next library.
- WET for Next and React - the monorepo for all the WET react and NextJS libraries and samples your feedback and contributions are welcome!