Tailwindcss-Vue
Tailwindcss-Vue is a library of UI components for Vue.js built using the Tailwind CSS utility-first CSS framework.
Install
npm
yarn
Usage
Base Theme Expectations
Use of this project assumes you are using PostCSS and Tailwind CSS in your Vue project.
postcss.config.js
tailwind.config.js
This file is likely to change to base color scheme without the need for custom color names
Developing/Running Locally
Clone the repo to your computer then change to the project directory. Once in the root of the project, use the install command with your dependency manager of choice (yarn or npm).
or
The project is set up with a Vue SPA playground to test components. In the root of the project directory you can run the development server with the serve command.
or
You can also build the project and serve it to another local project using npm link or the equivalent yarn link. While still in the root of the project directory, run the build:bundle command.
or
This will add the build to the 'dist' folder as a consumable library. Once completed, run the npm link command.
Next, in the project you wish to link, run the npm link tailwindcss-vue in the same directory as the package.json file. This will add the project to the global scope to be referenced as a traditional installed npm package (import TailwindcssVue from '@advanced-data-machines/tailwindcss-vue').
Local Docs
This project is bundled with VuePress to generate its documentation. You can run it locally by running the docs:dev run command. The docs are currently a work-in-progress.
or