mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
92ddfbd64ca15061e1637abd4d8bbd6f1cebf317
Ref https://github.com/webstudio-is/webstudio/issues/2532 Here extended page "path" field to accept [url pattern](https://developer.mozilla.org/en-US/docs/Web/API/URL_Pattern_API) compatible syntax to parametarize url with id, date, slug or anything else. Such data can be passed to backend/cms requests and use the same webstudio page for dynamic content. Preview fields automatically added when template fields appear in path. - fixed json local value - create "Page params" parameter data source when template is used in path - added preview fields to compile path template and preview in ui <img width="1292" alt="Screenshot 2023-12-08 at 11 35 30" src="https://github.com/webstudio-is/webstudio/assets/5635476/5dac81f6-5334-4d01-bf28-a74dd709834b">
Languages
TypeScript
98.9%
PLpgSQL
0.5%
CSS
0.3%
Shell
0.2%
JavaScript
0.1%
