mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 05:26:24 +09:00
Now we have first-class support for html tags and able to figure out which tags are rendered so unused preset styles can be removed from websites. For example ``` <Box ws:tag="div"> <Box ws:tag="span"> </Box> </Box> ``` will render only div.w-box and span.w-box though there are more presets for for other tags like main, section etc. Before all tags were generated
Fixture to test/play with webstudio
How to develop
# Terminal 1
cd packages/webstudio
pnpm dev
# Terminal 2
pnpm fixtures:link
pnpm fixtures:sync
# data.json generated
pnpm fixtures:build
# exec `pnpm run dev` to see result