tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

How to add tailwind into package #420

Closed nezaboravi closed 4 years ago

nezaboravi commented 4 years ago

@adamwathan would you please be kind and find some time to help me give back to tailwind :)

I want to create some vue/tailwind components. I am creating npm package that will be vue component, and i want to use tailwind to style it. So, my package name will be tailwind-vue-datepicker I have no issues on creating package and it works. Now, the problem is that i want to style it with tailwind! When i am developing the package, i am using this to preview package: vue serve --open src/tailwind-vue-datpickere.vue It pops my component in browser. How can i add tailwind into it? Makes no sense to add whole tailwind css into