docs icon indicating copy to clipboard operation
docs copied to clipboard

How do we build examples?

Open EvanCarroll opened this issue 5 years ago • 2 comments

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 avatar Jun 22 '20 05:06 EvanCarroll

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.

EvanCarroll avatar Jun 22 '20 06:06 EvanCarroll

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

teymour-aldridge avatar Jun 23 '20 10:06 teymour-aldridge