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 ...
A Vite plugin for integrating TailwindCSS in a modular fashion - vite-plugin-modular-tailwindcss/src/id.ts at main · SegaraRai/vite-plugin-modular-tailwindcss
但是阅读Tailwind CSS v3.2的发行说明,使用@config <filename>将其拆分为两个CSS文件应该是相当容易...
"vite-plugin-modular-tailwindcss": patch --- Prefixed virtual module ids with "\0". 4 changes: 2 additions & 2 deletions 4 src/id.ts Original file line numberDiff line numberDiff line change @@ -45,8 +45,8 @@ export type TailwindModuleId = | TailwindModuleIdModuleJS |...
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-...
"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...
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...