I am fairly new to tailwindcss. I got their installation stuff working but I want to make changes in the dir files. I want my index.html outside from the src folder, but everytime I move it outiside src the tailwind class does not work.
here's my directory tree
package.json
"devDependencies": {
"tailwindcss": "^3.0.12"
}
}
tailwind.config.js
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
},
plugins: [],
}
index.html
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/dist/output.css" rel="stylesheet">
</head>
<body>
<h1 class="text-3xl font-bold text-purple-700">
안녕하세요
</h1>
</body>
</html>