npm install @themeplate/vite-plugin-tailwindcss vite.config.js import{defineConfig}from'vite';importtpTailwindCssfrom'@themeplate/vite-plugin-tailwindcss';exportdefaultdefineConfig({plugins:[tpTailwindCss(/* MODE */),],}); Sample See/testsfolder forcustomandfullmode ...
Install the plugin: Run one of the following commands in your project directory: # npm npm install vite-plugin-modular-tailwindcss --save-dev # yarn yarn add vite-plugin-modular-tailwindcss --dev # pnpm pnpm add vite-plugin-modular-tailwindcss --save-dev Add the plugin to your vite.confi...
As ofv0.3.0,vite-plugin-tailwind-purgecssno longer purgesallunused CSS. Instead, it takes a more conservative and focused approach, only purging unusedtailwindcss classes. The previous purging strategy introduced too many bugs and reached far outside of its intended scope. If you wish to reenab...
但是阅读Tailwind CSS v3.2的发行说明,使用@config <filename>将其拆分为两个CSS文件应该是相当容易...
"vite-plugin-modular-tailwindcss": minor --- New strict version for serve plugin 1 change: 0 additions & 1 deletion 1 .prettierrc Original file line numberDiff line numberDiff line change @@ -1,6 +1,5 @@ { "plugins": ["prettier-plugin-organize-imports"], "semi": true, "...
In vscode I get warnings for invalid tailwind classname order based on eslint-plugin-tailwindcss. So I fix them and save, but then I get warnings in the dev server console from vite-plugin-eslint also saying I got the wrong order. Why is there a mismatch? and where does vite-plugin-...
History for vite-plugin-modular-tailwindcss src id.ts onmain User selector All users DatepickerAll time Commit History Commits on Jul 24, 2024 chore: rename top to entry SegaraRaicommittedJul 24, 2024 8271700 Commits on Jul 10, 2024 feat: use relative paths for virtual module ids Segar...
"prettier-plugin-tailwindcss": "^0.2.8", "rimraf": "^5.0.0", "serve": "^14.2.0", "tailwindcss": "^3.3.2",2 changes: 1 addition & 1 deletion 2 src/App.tsx Original file line numberDiff line numberDiff line change @@ -28,7 +28,7 @@ const App: React.FC = () => { ...
Describe the bug This seems similar behaviour to the plugin-vue fix #6987 and the described bug with pug templating in #4588 In dev server mode: if i add tailwind css classes to a handlebars template file, the css doesn't get updated. (p...
WordPress Plugin Boilerplate utilizing modern web technologies and tools such as React, TypeScript, SASS, Tailwind CSS, Shadcn UI, Vite, Grunt.js, Storybook, HMR and more. - prappo/wordpress-plugin-boilerplate