This package includes the global command for Create Yew App.
Please refer to its documentation:
- Quick Overview – How to create a new app.
- Creating an App – How to develop apps bootstrapped with Create Yew App.
rustup target add wasm32-unknown-unknown
Install Trunk
npx create-yew-app my-app
cd my-app
trunk serve
Then open http://localhost:8080/ to see your app.
When you’re ready to deploy to production, create a minified bundle with trunk build
.