made examples a workspace to speed up building of the book

This commit is contained in:
Maccesch 2023-06-11 01:40:48 +01:00
parent b63e81c1ba
commit c8003f7eb9
3 changed files with 26 additions and 0 deletions

3
.idea/leptos-use.iml generated
View file

@ -24,8 +24,10 @@
<sourceFolder url="file://$MODULE_DIR$/examples/use_media_query/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_media_query/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_storage/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_storage/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_breakpoints/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_breakpoints/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_ceil/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_element_visibility/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_element_visibility/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_intersection_observer/src" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/examples/use_intersection_observer/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/examples/use_round/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_event_listener/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_event_listener/target" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
<excludeFolder url="file://$MODULE_DIR$/docs/book/book" /> <excludeFolder url="file://$MODULE_DIR$/docs/book/book" />
@ -45,6 +47,7 @@
<excludeFolder url="file://$MODULE_DIR$/examples/use_favicon/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_favicon/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_media_query/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_media_query/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_storage/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_storage/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_breakpoints/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_breakpoints/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_element_visibility/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_element_visibility/target" />
<excludeFolder url="file://$MODULE_DIR$/examples/use_intersection_observer/target" /> <excludeFolder url="file://$MODULE_DIR$/examples/use_intersection_observer/target" />

23
examples/Cargo.toml Normal file
View file

@ -0,0 +1,23 @@
[workspace]
members = [
"use_breakpoints",
"use_ceil",
"use_debounce_fn",
"use_element_size",
"use_element_visibility",
"use_event_listener",
"use_favicon",
"use_floor",
"use_intersection_observer",
"use_media_query",
"use_mouse",
"use_resize_observer",
"use_round",
"use_scroll",
"use_storage",
"use_throttle_fn",
"watch_debounced",
"watch_pausable",
"watch_throttled",
]