van icon indicating copy to clipboard operation
van copied to clipboard

vanjs-jsx: csstype is missing from dependency

Open sevenc-nanashi opened this issue 11 months ago • 2 comments

vanjs-jsx uses csstype to type style, but its package.json doesn't have that.

sevenc-nanashi avatar Jan 11 '25 22:01 sevenc-nanashi

@cqh963852

Tao-VanJS avatar Jan 12 '25 03:01 Tao-VanJS

@sevenc-nanashi I know it's kinda late, been busy with VanJS development.

You can try vite-plugin-vanjs if you're using vite, it really uses good types and supports CSSProps object for the element styles. Link to playground here.

thednp avatar Feb 27 '25 17:02 thednp