Miao-Yunzai/image/tailwindcss.ts

15 lines
225 B
TypeScript
Raw Normal View History

2024-06-10 14:10:09 +08:00
import { exec } from 'child_process'
/**
* **********
* css文件
* **********
*/
exec(
'tailwindcss -i ./src/input.css -o ./public/output.css --watch',
2024-06-10 15:28:42 +08:00
(error, _, __) => {
2024-06-10 14:10:09 +08:00
if (error) {
//
}
}
)