Socket
Socket
Sign inDemoInstall

vue-cli-plugin-tailwind

Package Overview
Dependencies
0
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-cli-plugin-tailwind

vue-cli plugin for Tailwind CSS


Version published
Weekly downloads
11K
increased by8.24%
Maintainers
1
Install size
7.66 kB
Created
Weekly downloads
 

Readme

Source

vue-cli-plugin-tailwind

Tailwind CSS License

A plugin that adds Tailwind CSS to your vue-cli project.

Getting started

Inside your vue-cli project folder add the plugin via:

vue add tailwind

Choose what Tailwind config you want to generate:

  • none - Won't create a config file. Useful if you already have a config (make sure to configure PurgeCSS).
  • minimal (default) - Will create a minimal tailwind.config.js file where you can define your customizations.
  • full - Will generate a tailwind.config.js file containing the entire default configuration.

See Tailwinds configuration guide for more info.

PostCSS Configuration

Tailwind CSS will be added as plugins in your PostCSS config.

// postcss.config.js
module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
  },
};

License

MIT

Keywords

FAQs

Last updated on 27 Feb 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc