Answers for "tailwind vue"

3

tailwind vue

npm i -D tailwindcss@latest postcss@latest autoprefixer@latest

npx tailwindcss init -p

# inside tailwind.config.js 
mode: "jit", 
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}']

# creates src/index.css and then import it into src/main.js
echo -e "@tailwind base; \n@tailwind components; \n@tailwind utilities;" >> src/index.css

# src/main.js
import './index.css'
Posted by: Guest on October-25-2021
2

vue tailwind

vue create appname

cd appname

vue add tailwind --select your preferred settings

npm run serve

DONE!!!
Posted by: Guest on July-31-2021
-2

tailwind ,vue

add this to settings.json
"tailwindCSS.includeLanguages": {
    "vue": "html",
    "vue-html": "html",
  },
Posted by: Guest on April-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language