yew README

The project's README from github.com/yewstack/yew. As one markdown file: README.md.

Yew

Rust / Wasm client web app framework

Crate Info API Docs Discord Chat

Documentation (stable) | Documentation (latest) | Examples | Changelog | Roadmap | 简体中文文档 | 繁體中文文檔 | ドキュメント

About

Yew is a modern Rust framework for creating multi-threaded, front-end web apps with WebAssembly.

Yew is named after a type of evergreen tree, and is pronounced /juː/. Entry with audio on Cambridge Dictionary.

Contributing

Yew is a community-driven effort and we welcome all kinds of contributions, big or small, from developers of all backgrounds. We want the Yew community to be a fun and friendly place, so please review our Code of Conduct to learn what behavior will not be tolerated.

🤠 New to Yew?

Start learning about the framework by helping us improve our documentation. Pull requests which improve test coverage are also very welcome.

😎 Looking for inspiration?

Check out the community curated list of awesome things related to Yew / WebAssembly at jetli/awesome-yew.

🤔 Confused about something?

Feel free to drop into our Discord chatroom or open a new "Question" issue to get help from contributors. Often questions lead to improvements to the ergonomics of the framework, better documentation and even new features!

🙂 Ready to dive into the code?

After reviewing the Contribution Guide, check out the "Good First Issues" (they are eager for attention!). Once you find one that interests you, feel free to assign yourself to an issue and don't hesitate to reach out for guidance, the issues vary in complexity.

😱 Found a bug?

Please report all bugs! We are happy to help support developers fix the bugs they find if they are interested and have the time.

Contributors

Code Contributors

This project exists thanks to all the people who contribute.

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

yew (yewstack/yew)

Searching Database…

32.8K ·GitHub
这是什么?Yew 是一个现代的 Rust 框架,用于创建基于 WebAssembly 的多线程前端网页应用。你用 Rust 编写界面,应用会编译成可在浏览器里运行的 Wasm。
它是前端框架还是全栈框架?只做前端:Yew 通过 WebAssembly 面向浏览器。它不是基于 JavaScript 的——你通过一个宏,用 Rust 表达式来声明可交互的 HTML,组件风格和 React 很接近。
我怎样才能把第一个应用跑起来?README 本身没有安装步骤,而是把新手引导到框架文档。yew.rs 上的入门指南会带你完成安装 Rust、添加 wasm32-unknown-unknown 目标和 Trunk 打包工具,然后构建示例应用。
我需要有 React 或 JSX 的使用经验才能上手吗?不是必需的,但有经验可以直接迁移:README 说熟悉 React 中 JSX 的开发者会感觉非常顺手,因为 Yew 的 HTML 宏的工作方式是一样的。真正的前提是会 Rust。
我是不是得放弃 npm 包和已有的 JavaScript 代码?不用。Yew 支持 JavaScript 互操作,所以你可以使用 NPM 包,并把 Yew 集成到现有的 JavaScript 应用中。
它适合谁用,相比常见的 JS 框架卖点是什么?适合想追求速度、做前端的 Rust 开发者:Yew 通过尽量减少每次页面渲染时的 DOM API 调用来实现高性能,并且可以轻松把处理任务交给后台的 web worker。
Yew 这个名字有什么讲究?它以红豆杉这类常青树命名,发音是 /juː/——和英语里的 'you' 一样。README 里甚至还链接了剑桥词典的音频词条。
Yew 是某家公司做的,还是社区做的?由社区驱动:README 欢迎各种背景的开发者做出或大或小的贡献,运营着一个 Discord 聊天室供大家提问,并引导新手去处理难度不一的 Good First Issues。
我在哪里能找到 Yew 的精选示例和库?README 指向了 jetli/awesome-yew,这是一个由社区维护的清单,收录了与 Yew 和 WebAssembly 相关的各类优秀资源。
它免费吗?可以商用吗?免费。这个仓库以 Apache-2.0 许可证发布,个人使用和商业使用都是免费的。
What are similar projects?leptos, perry, solid, uikit, qwik, riot, nuxt, dva
Creator
yewstack
Size
21.5 MB
Stars
32.8K
Age
8y
Commits · 90 Days