@vubrussel/vub_tailwind

0.2.37 • Public • Published

VUB Tailwind component library

Vue and Tailwind CSS based frontend components with VUB specific layout.

Build VUB web application faster by having a set of components that adhere to the VUB house style.

Getting Started

Make sure that you have Vue and Tailwind CSS installed.

  1. Install VUB Tailwind with npm or yarn:
    npm install @vubrussel/vub_tailwind
    yarn add @vubrussel/vub_tailwind
  1. Require VUB Tailwind as a plugin in the tailwind.config.js file:
module.exports = {

    plugins: [
        require('@vubrussel/vub_tailwind/plugin')
    ]
}
  1. Add the template path to the tailwind.config.js file:
module.exports = {
    content: [
        "./assets/**/*.{vue,html,js}",
        "./templates/**/*.html.twig",
        "./node_modules/@vubrussel/vub_tailwind/src/**/*.vue",
    ],
    
}

Software dependencies

Package Sidebar

Install

npm i @vubrussel/vub_tailwind

Weekly Downloads

16

Version

0.2.37

License

MIT

Unpacked Size

590 kB

Total Files

120

Last publish

Collaborators

  • jevdheyd
  • vrije_universiteit_brussel