0👍
Try using PostCSS
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
- [Vuejs]-Trying to make equal height elements in Vue 3 / TypeScript / Quasar but it doesn't always work
- [Vuejs]-How to pass id for get data from api with axios.post?
0👍
on tailwind.config.js:
module.exports = {
purge:
"./src/**/*.html",
"./src/**/*.vue",
"./src/**/*.jsx",
],
//
};
it’s simply adding the ones in the purge, after that, the vue is rendered properly, I think that the problem is that we haven’t included vue on the tailwind configuration.
- [Vuejs]-Unit test with jest involving a class instance declared within a vue method
- [Vuejs]-Dockerizing Laravel + vue
0👍
There are two tailwind.config.js files, one at the project level and the other at the vue directory. Copy and paste the following at the vue directory level
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./index.html",
"./src/**/*.{html,js,vue,js,ts,jsx,tsx}"
],
theme: {
extend: {},
},
plugins: [
require('@tailwindcss/forms')
],
}
- [Vuejs]-Flex-Wrap: Equal (Max-)Width for elements wrapped by column
- [Vuejs]-Trying to make equal height elements in Vue 3 / TypeScript / Quasar but it doesn't always work
Source:stackexchange.com