yewstack / docs

https://yew.rs
Creative Commons Zero v1.0 Universal
45 stars 46 forks source link

How do we build examples? #105

Open EvanCarroll opened 4 years ago

EvanCarroll commented 4 years ago

I've tried guessing at this at least 10 ways.

How about a guide on how to actually build the examples/. I can't get the todomvc example to even run.

EvanCarroll commented 4 years ago

The furthest I've gotten is to run ./ci/build_examples.sh

Which outputs,

   Compiling todomvc v0.1.0 (/home/ecarroll/code/rust/yew/upstreamrepo/examples/todomvc)
    Finished dev [unoptimized + debuginfo] target(s) in 1.01s
[ Finished! Run todomvc by serving the generated files in examples/static/ ]

But in ./static I have an index.html file that references,

<script src="/todomvc.js"></script>

but nothing seems to output that file.

teymour-aldridge commented 4 years ago

There are currently a few problems with the examples. There are some other issues which might be relevant in the main Yew repo.