29 - Dec - 2022
React Fitness - Landing Page 🔗
- Vite
- React
- TypeScript
- Tailwind CSS
- Framer Motion
Host at Cloud Flare
- tailwind documentation extension (
ctrl + alt + t) vit&tsconfig for shot file name import- config tailwind for custom colors, fonts, scree sizes & images...
- file extension must be
.tsor.tsxinstead of.js useMediaQuery.tshook is only detect for, it mobile size screen or not?
- go to ==>
vite.config.tsfile & past this...- for convenient to import files
import path from 'path';
resolve: {
alias: [{ find: '@', replacement: path.resolve(__dirname, 'src') }],
},- go to ==>
tsconfig.jsonfile & past this...- for convenient to import files
"paths" : {
"@/*" : ["./src/*"],
},