Thanks to visit codestin.com
Credit goes to github.com

Skip to content

davidedelpapa/yew-devenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YEW DevEnv

Built With: RUST WASM: Yew License: Unlicense

Yew Development Environment (Rust + Yew + Node + Rollup)

Usage

Just run the run script; it should correctly initialize the environment at the first run (both cargo and npm)

./run

Make sure to customize both Cargo.toml and package.json

Moreover, if you rename the project/folder accordingly, you have to remeber to change also the filenames in main.js

In short: wherever you see "yew-devenv", yew_devenv.js or yew_devenv_bg.wasm you have to substitute with the name of your project (example if the first becomes "awesome-project", you have to substitute in main.js also awesome_project.js and awesome_project_bg.wasm respectively)

Caveat: Cleanup

Sometimes the hot-reload server or the thttp server just stay up, while building fails, etc. In case of "zombie" servers, try to fix it with --clean

./run --clean

The Environment

The environment is as such:

LICENSE

Copyleft 2020, Davide Del Papa

This repo is under the unlicense license. Substitute the license in your own project at will.

May God bless you.

About

Yew Development Environment (Rust + Yew + Node + Rollup)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published