How did you install Tailwind?

|
prime 2021-07-02 23:50:38
YOUCODEWORLD 2021-07-02 23:46:15
Past error code please

well the error is gone … but tailwind css didn’t work

YOUCODEWORLD 2021-07-02 23:51:36
How did you install Tailwind?
prime 2021-07-02 23:52:11
i use these descriptions👉👉👉 https://github.com/laravel-frontend-presets/tailwindcss

GitHub – laravel-frontend-presets/tailwindcss: A Tailwind CSS frontend preset for the Laravel FrameworkGitHub
A Tailwind CSS frontend preset for the Laravel Framework – GitHub – laravel-frontend-presets/tailwindcss: A Tailwind CSS frontend preset for the Laravel Framework
YOUCODEWORLD 2021-07-02 23:53:11
All steps successfull?
YOUCODEWORLD 2021-07-02 23:53:32
Fresh install Laravel >= 7.0
prime 2021-07-02 23:53:52
YOUCODEWORLD 2021-07-02 23:53:11
All steps successfull?

yaap

YOUCODEWORLD 2021-07-02 23:54:10
Laravel version must >= 7.0
YOUCODEWORLD 2021-07-02 23:54:28
for this package
YOUCODEWORLD 2021-07-02 23:54:57
if you use a for new version . it’s easy install .
YOUCODEWORLD 2021-07-02 23:55:27
1. laravel new my-project
cd my-project
YOUCODEWORLD 2021-07-02 23:55:44
2.
$ npm install
YOUCODEWORLD 2021-07-02 23:56:56
3.

$ npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

YOUCODEWORLD 2021-07-02 23:57:12
4.
YOUCODEWORLD 2021-07-02 23:57:41
$ npx tailwindcss init
YOUCODEWORLD 2021-07-02 23:58:16
5.

edit tailwind.config.js file

prime 2021-07-02 23:59:08
i followed the same steps ….
YOUCODEWORLD 2021-07-02 23:59:19
laravel_discuss-87233.jpg

YOUCODEWORLD 2021-07-02 23:59:37
If you follow 100% working
prime 2021-07-03 00:00:26
YOUCODEWORLD 2021-07-02 23:59:19

let me try it again….

YOUCODEWORLD 2021-07-03 00:01:22
You finish 5 steps then tell me
prime 2021-07-03 00:01:45
YOUCODEWORLD 2021-07-03 00:01:22
You finish 5 steps then tell me

ok

YOUCODEWORLD 2021-07-03 00:09:36
Finish ?
prime 2021-07-03 00:15:07
YOUCODEWORLD 2021-07-03 00:09:36
Finish ?

yaap

prime 2021-07-03 00:15:30
but still nothing happened
YOUCODEWORLD 2021-07-03 00:15:31
laravel_discuss-87241.jpg
7.
YOUCODEWORLD 2021-07-03 00:16:03
prime 2021-07-03 00:15:07
yaap

Still have more steps

YOUCODEWORLD 2021-07-03 00:16:19
continue follow
YOUCODEWORLD 2021-07-03 00:17:17
8.

Open the ./resources/css/app.css file

/* ./resources/css/app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

prime 2021-07-03 00:17:26
laravel_discuss-87245.jpg

prime 2021-07-03 00:17:55
after running npm install && npm run dev
YOUCODEWORLD 2021-07-03 00:18:09
First follow me please
YOUCODEWORLD 2021-07-03 00:18:25
First finish step 8
prime 2021-07-03 00:18:25
YOUCODEWORLD 2021-07-03 00:17:17
8.

Open the ./resources/css/app.css file

/* ./resources/css/app.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

i did it already

YOUCODEWORLD 2021-07-03 00:18:48
9.
`
add in your app.blade.php file
<link href=”{{ asset(‘css/app.css’) }}” rel=”stylesheet”>
YOUCODEWORLD 2021-07-03 00:19:43
Finish then run

$ npm run watch

|