Astro project preconfigured with tailwindcss, tailwind-fluid-typography, react, astro-i18next, astro-seo and astro-robots-txt
npm install
Start the server
npm run dev
Regenerate translated content
npm run trans
Published in Cloudflare Pages, it only requires a push to the main
branch.
Important: Cloudflare currently builds by default using Node 18, if you have problems publishing the project, or you are using a higher version (like me), you can specify it as a variable in the configuration, as follows:
Type | Name | Value |
---|---|---|
Plaintext |
NODE_VERSION |
20.18.0 |
npm run build