Replies: 2 comments
-
|
you are having troubles in running the application you need to install latest version of your windows runtime just simply go to this link and install latest run time for your windows https://learn.microsoft.com/es-es/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version |
Beta Was this translation helpful? Give feedback.
-
|
Hi! The issue is likely that you're trying to import Tailwind as a Vite plugin, but Tailwind is a PostCSS plugin. You don't need to add anything to Steps to fix:
3.In your vite.config.js, do not try to import or add Tailwind as a plugin. Vite automatically reads postcss.config.js. 4.Make sure you have the @tailwind directives in your main CSS file: Restart the dev server and it should work. Hope this helps! 2. Tailwind CSS: стилизация дочерних элементовСсылка: #12947 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When i try to import tailwind and include the tailwind() in my react project and when i run the application using npm run dev getting below error:
failed to load config from C:\Users\Teks0173\Desktop\my-project\vite.config.js error when starting dev server: Error: Cannot find module '../lightningcss.win32-x64-msvc.node'Beta Was this translation helpful? Give feedback.
All reactions