Commit Graph

37 Commits

Author SHA1 Message Date
Greg Johnston 6b90e1babd
examples: add 404 support in Actix examples (closes #1031) (#1291) 2023-07-06 10:35:37 -04:00
Greg Johnston ee7dbafc85
change: migrate to `nightly` and `csr` features rather than `stable` and `default-features = false` (#1227) 2023-06-26 21:12:14 -04:00
Greg Johnston bb10b32200
feat: register server functions automatically (#1154) 2023-06-11 09:09:21 -04:00
agilarity 53e09279a2
ci(examples): verify examples (#1125) 2023-06-01 22:12:18 -04:00
agilarity 9997487a9c
test: lint examples with --all-features (#1008)
* test: lint all features

* fix(counter_isomorphic): check-style issues

* fix(errors_axum): check-style issues

* fix(hackernews): check-style issues

* fix(hackernews_axum): check-style issues

* fix(session_auth_axum): check-style issues

* build(session_auth_axum): add common tasks

* fix(ssr_modes): check-style issues

* build(ssr_modes_axum): add common tasks

* fix(ssr_modes_axum): check-style issues

* build(tailwind): add common tasks

* fix(tailwind): check-style issues

* fix(todo_app_sqlite_axum): check-style issues

* fix(todo_app_sqlite_viz): check-style issues
2023-05-05 22:25:29 -04:00
agilarity 9cf337309d
Fix lint issues in counter_isomorphic example (#980) 2023-05-02 20:22:07 -04:00
novacrazy 4b79a91287 Add profile.release to many examples 2023-04-06 21:53:52 -05:00
Michael Clayton 08b5970b2b
check EventSource value for Ok to avoid unwrap panic (#732) 2023-03-23 18:41:18 -04:00
Álvaro Mondéjar 509223ab2e
chore: Upgrade console_log to stable (#724) 2023-03-22 18:21:53 -04:00
Elliot Waite a9f778459a
examples: remove duplicate `console_error_panic_hook::set_once()` calls (#692) 2023-03-17 16:27:24 -04:00
Greg Johnston 38daaf3b72
chore: apply `cargo machete` systematically (#671) 2023-03-13 10:16:20 -04:00
Greg Johnston 4ff08f042b
change: pass `Scope` as argument into `Resource::read()` and `Resource::with()` (#542) 2023-02-19 19:52:31 -05:00
Greg Johnston 59ad6a4725 revert accident 2023-02-18 16:03:20 -05:00
Greg Johnston 884dacbc6c fix example 2023-02-18 16:02:19 -05:00
Greg Johnston 1dbcfe2861
change: reorganize module exports and reexports (#503) 2023-02-12 17:04:36 -05:00
Greg Johnston 6931d3904b
remove unnecessary `"openssl"` feature from Actix examples (#480) 2023-02-06 09:10:09 -05:00
Ben Wishovich 76aeb573bf
fix: convert `site_address` to `site_addr` to match `cargo-leptos` (#462) 2023-02-04 16:37:41 -05:00
Greg Johnston 6373fd42fb
Switch examples to `check` instead of `build` (for CI resources) and add missing examples (#437) 2023-02-01 20:36:37 -05:00
Greg Johnston 44974fcf69 Replace `site-address` with `site-addr` in `cargo-leptos` example `Cargo.toml` files 2023-01-26 19:52:47 -05:00
IcosaHedron f2e7b00d5a
Fix CSR with Trunk on hackernews example, remove CSR option from isomorphic example (#369)
* Fix CSR with Trunk on hackernews example

* Update isomorphic example to remove CSR from Readme
2023-01-25 20:15:12 -05:00
Kompreni bcabdddce5 doc: add link for leptos watch 2023-01-20 20:14:09 +01:00
ekanna ce0910caca Updated example code and README to use latest syntax for data binding 2023-01-17 12:08:44 +05:30
benwis 10a833d763 Switch get_configuration calls to None and add a note in the docs for
uses of get_configuration()
2023-01-15 12:50:25 -08:00
Greg Johnston f5f345e623
Merge pull request #286 from benwis/favicons
FAVICON!
2023-01-09 19:57:27 -05:00
benwis ee647cba1c Add Favicons to all the examples and standardize on the public folder for public assets 2023-01-09 15:27:52 -08:00
Martin 4d21f5ac63 simple_logger use version 4.0.0 everywhere. 2023-01-09 21:43:48 +00:00
Greg Johnston 8b92a561a3
Merge pull request #269 from benwis/generated_routes
Generate Routes and pass them to Actix/Axum
2023-01-09 07:02:11 -05:00
benwis dc60c35b58 Rewrite file handlers for Axum, and update all examples to use the new
generated routes. Fix a few issues in the integrations, and reduce the
number of warnings
2023-01-08 14:18:51 -08:00
Greg Johnston 32ec9cc57e Prevent `create_signal_from_stream` from panicking on SSR 2023-01-08 17:09:04 -05:00
Greg Johnston 05d2eb8ce0 Improve CI disk space usage 2023-01-07 07:43:52 -05:00
Greg Johnston a2943c4649 Fix `counters_isomorphic` 2023-01-02 18:37:10 -05:00
Greg Johnston 411fc51ea2 Clean up examples 2023-01-02 16:20:05 -05:00
Greg Johnston 7f21ee97a8 Fix `counter_isomorphic` import 2023-01-02 13:34:56 -05:00
Greg Johnston 0ed56d382d Add `build-examples` task to `cargo make` CI 2023-01-02 13:29:37 -05:00
Ben Wishovich 827b787c91 Bugfixes, using cargo-leptos for CSS, and updating READMEs. 2022-12-31 18:39:05 -08:00
Ben Wishovich 01c00eee6b Update SSR Readmes with new instructions 2022-12-31 16:06:54 -08:00
Ben Wishovich f45d33db73 Move the examples out of the workspace, and standardize naming. All of the SSR examples now work with cargo-leptos 2022-12-31 15:52:19 -08:00