Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sasuke40/yew-starter
A template for starting a Yew.
https://github.com/sasuke40/yew-starter
rust webassembly yew
Last synced: about 2 months ago
JSON representation
A template for starting a Yew.
- Host: GitHub
- URL: https://github.com/sasuke40/yew-starter
- Owner: SASUKE40
- License: mit
- Created: 2020-01-04T16:28:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T13:26:13.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T02:05:30.690Z (8 months ago)
- Topics: rust, webassembly, yew
- Language: Rust
- Homepage: https://yew-starter.netlify.com
- Size: 650 KB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yew-starter
[![Netlify Status](https://api.netlify.com/api/v1/badges/c0ca5dfc-6d7f-4bf4-9f60-2987a9776f35/deploy-status)](https://app.netlify.com/sites/yew-starter/deploys)
A template for starting a Yew.
**Live Demo:** https://yew-starter.netlify.com
# Pre-reqs
Install rust if necessary
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```Install node if necessary
```
brew install node
```# Getting started
- Clone the repository
```
git clone --depth=1 https://github.com/SASUKE40/yew-starter.git
```## Install dependencies
```
cargo install wasm-pack
cargo install cargo-web
npm i
```## Local development
```
npm start
# navigate to http://localhost:1234
``````
npm build
```## Serve
```
npm i serve -g
serve dist
# navigate to http://localhost:5000
```