Package Exports
- tailwindcss-vuejs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tailwindcss-vuejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Vue.js Tailwind CSS plugin
Overview
Adds classes for working with Vue.js and Tailwind CSS.
This plugin adds classes for showing and hiding elements in different display variations in combination with Vue's v-cloak directive, which I originally saw in the first 'Building Kitetail' video. Then is particuarly useful when you want an element to be visible whilst Vue is compiling, and hidden afterwards.
Installation
Add this plugin to your project:
# Using npm
npm install --save-dev tailwindcss-vuejs
# Using yarn
yarn add --dev tailwindcss-vuejsUsage
You can add the plugin to your Tailwind config as follows:
plugins: [
// ...
require('tailwindcss-vuejs')(),
],Example
To see an example of this plugin in use, see the oliverdavies.uk repository.
Author
Oliver Davies - Full Stack Developer