npm create vite@latest ./ -- --template react
npm install -D tailwindcss postcss autoprefixer
/* since we are installing legacy version */
npm install --legacy-peer-deps -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
npm install --leagacy-peer-deps @react-three/fiber @react-three/drei maath react-tilt react-vertical-timeline-component @emailjs/browser framer-motion react-router-dom
npm install --legacy-peer-deps three
-
Keep the file extension of postcss.config and tailwind.config as cjs instead of js
-
In tailwind.config.cjs keep export default {} instead of module.exports = {}
-
In postcss.config.cjs change export default {} to module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, } }
-
A common error is using import Tilt from ""; instead of import { Tilt } from "";
- Create an account on emailjs.com
- Add new service
- Click gmail
- Connect your account
- Sign in with gmail
- Create service
- Go to email template
- Leave everything as it is and click save
- Go to your template -> settings
- copy template id
- Go to email services and click Gmail
- Copy service id
- Go to your name
- Copy public key
- Update these values in contact.jsx
- Go to assets
- Change the fie you want to change
- Go to index.js in assets folder
- Change import Your_File_Name from "File address"
- Change export to your_file_name
- Go to constants/index.js
- Change the content accordingly