You will be asked a few questions to configure your project:
✔ What would you like to call your site?· your-app-name✔ What would you like to name the folder where your site will be created?· your-app-name✔ Will you be using JavaScript or TypeScript?· TypeScript✔ Will you be using a CMS?· Choose whatever you want✔ Would you like to install a styling system?· Tailwind CSS✔ Would you like to install additional features with other plugins?· Choose whatever you want✔ Shall we do this? (Y/n) · Yes
Create a gatsby-node.ts file at the root of your project if it doesn’t already exist, and add the code below to the gatsby-node file so your app can resolve paths:
You will be asked a few questions to configure components.json:
Would you like to use TypeScript (recommended)? no / yesWhich style would you like to use? › DefaultWhich color would you like to use as base color? › SlateWhere is your global CSS file? › › ./src/styles/globals.cssDo you want to use CSS variables for colors? › no / yesWhere is your tailwind.config.js located? › tailwind.config.jsConfigure the import alias for components: › @/componentsConfigure the import alias for utils: › @/lib/utilsAre you using React Server Components? › no