{"id":22014135,"url":"https://github.com/laqudee/yew-app","last_synced_at":"2026-05-04T04:35:40.844Z","repository":{"id":146793066,"uuid":"614852105","full_name":"laqudee/yew-app","owner":"laqudee","description":"使用Rust + Yew + Trunk 构建的前端项目DEMO","archived":false,"fork":false,"pushed_at":"2023-03-16T13:14:48.000Z","size":874,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T08:30:04.972Z","etag":null,"topics":["rust","trunk","yew"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laqudee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-16T13:02:07.000Z","updated_at":"2023-03-17T01:21:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce31d463-7a82-45d2-a026-bb756ee8990a","html_url":"https://github.com/laqudee/yew-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laqudee/yew-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Fyew-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Fyew-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Fyew-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Fyew-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laqudee","download_url":"https://codeload.github.com/laqudee/yew-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laqudee%2Fyew-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32595199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","trunk","yew"],"created_at":"2024-11-30T03:26:26.150Z","updated_at":"2026-05-04T04:35:40.829Z","avatar_url":"https://github.com/laqudee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yew-app\n\n\u003e [Yew Document](https://yew.rs/docs/getting-started/introduction)\n\n## 准备\n\n### 安装 WebAssembly target\n\n```shell\nrustup target add wasm32-unknown-unknown\n```\n\n### 安装 Trunk\n\n```shell\ncargo install --locked trunk\n```\n\n### Other options\n\n- wasm-pack\n- wasm-run\n\n## Build app\n\n1. `cargo new yew-app`\n\n2. Cargo.toml\n\n```toml\n[package]\nname = \"yew-app\"\nversion = \"0.1.0\"\nedition = \"2021\"\n\n# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html\n\n[dependencies]\nwasm-bindgen = \"0.2.84\"\nyew = { version = \"0.20.0\", features = [\"csr\"] }\ngloo = \"0.8.0\"\nyew-router = \"0.17.0\"\n\n[dependencies.web-sys]\nversion = \"0.3.61\"\n\nfeatures = [\n    \"console\",\n    \"Document\",\n    \"HtmlElement\",\n    \"MouseEvent\",\n    \"DomRect\",\n]\n```\n\n3. `trunk serve`\n\n## Yew concepts\n\n- Basic Web Technologies\n- Component\n- HTML\n- Agent\n- Context\n- Router\n- Suspense\n\n- Struct Component\n- Chidlren\n- Optimozations\n- Portals\n- Server-side Rendering\n- Immutable Types\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaqudee%2Fyew-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaqudee%2Fyew-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaqudee%2Fyew-app/lists"}