mmaged
5 months ago
888
5
Laravel

HTML Tags become disabled

Posted 5 months ago by mmaged

When installing Tailwind using

npm install tailwindcss

Create config file

npx tailwind init

And add Tailwind to CSS using the @tailwind directive to inject Tailwind

@tailwind base;

@tailwind components;

@tailwind utilities;

And Process CSS with Tailwind by adding Tailwind config file to webpack.mix.js

mix.js('resources/js/app.js', 'public/js')
 .sass('resources/sass/app.scss', 'public/css')
 .tailwind('./tailwind.config.js');

The problem that when complete all the above and type HTML tag in a blade file like <h1>Hello, World!</h1>

It appears as a normal tag without any bigger size or bold style and I got this situation with all the tags.

Please sign in or create an account to participate in this conversation.