vue-tailwind-components
v1.0.2
Published
Tailwind CSS components for Vue.js
Downloads
3
Maintainers
Readme
vue-tailwind-components
Tailwind CSS components for Vue.js
Install
npm install --save vue-tailwind-components
Usage
import Vue from 'vue';
import VueTailwindComponents from 'vue-tailwind-components';
Vue.use(VueTailwindComponents);
Nuxt.js
- create
plugins/vue-tailwind-components.js
- import component similar to Usage section
- on
nuxt.config.js
add plugin toplugins: ['~/plugins/vue-tailwind-components.js'],
Charts
To use charts components you need to install dependencies on your project:
npm install --save chart.js
npm install --save vue-chartjs
And load the component
import VueTailwindComponentsCharts from 'vue-tailwind-components/dist/charts'
Vue.use(VueTailwindComponentsCharts)