Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking issue for a Yew CLI. #1086

Closed
4 tasks
teymour-aldridge opened this issue Apr 17, 2020 · 1 comment
Closed
4 tasks

Tracking issue for a Yew CLI. #1086

teymour-aldridge opened this issue Apr 17, 2020 · 1 comment
Labels
feature-request A feature request

Comments

@teymour-aldridge
Copy link
Contributor

teymour-aldridge commented Apr 17, 2020

Is your feature request related to a problem? Please describe.
When setting up a Yew project there's often some boilerplate code which has to go into loading the wasm binaries into the browser and running them.

Describe the solution you'd like
A clear and concise description of what you want to happen.
I'd like something like create-react-app or preact-cli or vue's cli interface. Ideally it would:

  • set up projects
  • handle live reloading or hot reloading (ideally the CLI tool would achieve hot reloading though realistically it will be live reloading, at least initially)
  • build optimised bundles for deployment
  • run tests

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

  • Setting up projects manually.
  • Using cargo web. Unfortunatley this only works with std_web but if cargo web were resolved to work with web_sys that would also solve this problem.
    Additional context
    The CLI tool will be written in Rust.

I'd be happy to work on building this.

@siku2
Copy link
Member

siku2 commented May 18, 2021

While we still don't have a CLI specific to Yew, I believe Trunk fills the role of a general purpose tool adequately.
I don't think any of the Yew-specific features currently warrant the creation of a custom CLI anymore.

@siku2 siku2 closed this as completed May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature request
Projects
None yet
Development

No branches or pull requests

2 participants