facebook-clone icon indicating copy to clipboard operation
facebook-clone copied to clipboard

Can't resolve './tailwind.css'

Open GithubJaimeLee opened this issue 4 years ago • 3 comments

./src/App.jsx Module not found: Can't resolve './tailwind.css' in '/facebook-clone/src'

GithubJaimeLee avatar Oct 18 '21 17:10 GithubJaimeLee

@nyjackielee did you build the CSS first?

saifulshihab avatar Oct 19 '21 04:10 saifulshihab

@nyjackielee did you build the CSS first?

Should I use yarn build css first? I usually use npm. When 'npm start' It reported that can not find main.css, without main.css… the webside looks … not good looking. But I have checked your github homepage. Wonderful.

GithubJaimeLee avatar Oct 19 '21 14:10 GithubJaimeLee

@nyjackielee run this command yarn build:tailwindcss or npm run build:tailwindcss first. This will generate that tailwind.css file. Then restart the app.

saifulshihab avatar Oct 20 '21 04:10 saifulshihab