-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posts/lib-vite-tailwindcss/ #262
Comments
How can we support multiple import { styles } from 'run-and-drive-lib';
const { flexbox, pxToRem } = styles; |
@oleksandr-danylchenko |
Excellent guide. Thank you! For anyone coming across 'React is not defined' when using the classic JSX runtime, check this ticket: vitejs/vite#7586 I'm building a shared UI component library as part of a Yarn workspace, so the Tailwind extension in VS Code is picking up a different package's config. Will report back with any findings. Also, if you are doing something similar (monorepo) and new builds give you a TS error ('Could not find a declaration file for module') in VS Code, open the command palette and restart the TS server. Perhaps there is a better way? |
Simple fix on the Tailwind front re: monorepo. https://github.com/tailwindlabs/tailwindcss-intellisense
Customize flag
|
tailwindcss is not working |
One of the best articles on the internet right here ☝️ |
Frontend library development with vite and tailwindcss | miyauci.me
Shows how to develop a library using vite and tailwindcss. We'll show you how to generate typedefs, set path aliases, and configure tailwindcss as a library.
https://miyauchi.dev/posts/lib-vite-tailwindcss/?utterances=846b24fb81ec67033fa32d60hrZsDMO%2FOR0LPRnXy79fiwQJPMUclLFHngmcwshtPid0JhkFB9Qdat3l0QyMVQVTOd2tx1e91vjyrTxxo4lkd86JHehAFBPmtzP6856l8XsaJ88xbQRRKJ%2Fycsw%3D
The text was updated successfully, but these errors were encountered: