- Install Node.js: https://nodejs.org/es/download/
- Install Yarn: https://yarnpkg.com/getting-started/install
NOTE: we also recommend using NVM to install Node.js: https://github.com/nvm-sh/nvm
Update constant PROJECT_NAME in constants/localStorage.js with your project's name.
Use Favicon Generator to generate your favicon and replace the files in public/ with the generated ones.
Follow these steps to get started:
- yarn install
- yarn dev
A local environment will open at http://localhost:3000 by default.
- Don't forget to export
getStaticPropsTranslationsin your page'sgetStaticPropsfunction.
import { getStaticPropsTranslations } from '#utils/translations';
export const getStaticProps = getStaticPropsTranslations;- Add PageHead component to your page.
import PageHead from '#components/PageHead';
export default function Home() {
return (
<>
<PageHead />
{/* Your page content */}
</>
);
}