Coder Social home page Coder Social logo

yew-trunk-minimal-template's People

Contributors

angelonfira avatar bk138 avatar lausek avatar scode avatar siku2 avatar spanishpear avatar srid avatar voidpumpkin avatar worldsender avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yew-trunk-minimal-template's Issues

Mac下编译长时间报wasm-bindgen copying

tauri编译问题🧬

  • mac(M1 ARM)下tauri编译问题🧬:
% rustc -vV
rustc 1.65.0-nightly (2befdefdd 2022-08-06)
binary: rustc
commit-hash: 2befdefdda0f2bc5ff93f7f95633c98841409098
commit-date: 2022-08-06
host: aarch64-apple-darwin
release: 1.65.0-nightly
LLVM version: 14.0.6

显示 copying generated wasm-bindgen artifacts 长时间停在copying阶段

hunter@hunterdeMacBook-Pro yew-trunk-minimal-template % trunk build      
2022-08-07T09:08:10.386081Z  INFO 📦 starting build
2022-08-07T09:08:10.387065Z  INFO spawning asset pipelines
2022-08-07T09:08:10.471323Z  INFO building trunk-template
2022-08-07T09:08:10.471436Z  INFO downloading sass version="1.50.0"
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
2022-08-07T09:08:10.562658Z  INFO fetching cargo artifacts
2022-08-07T09:08:10.636685Z  INFO processing WASM for trunk-template
2022-08-07T09:08:10.644975Z  INFO using system installed binary app=wasm-bindgen version=0.2.82
2022-08-07T09:08:10.645055Z  INFO calling wasm-bindgen for trunk-template
2022-08-07T09:08:10.691656Z  INFO copying generated wasm-bindgen artifacts

Hello world not displaying

cargo generate --git https://github.com/yewstack/yew-trunk-minimal-template
# named it hello
cd hello
rustup target add wasm32-unknown-unknown
cargo install trunk wasm-bindgen-cli
trunk serve

I ran the following commands on my m1 mac, and after updating the cargo.lock file to use "0.2.87" instead of "0.2.83" in a few places so the code would actually start, this is what I get when I go to "127.0.0.1:"

Screenshot 2023-07-09 at 15 40 39

Make this compatible with cargo-generate

cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveraging a pre-existing git repository as a template.

We should leverage this tool to allow easy creation of Yew applications

No year variable

I am getting this error when I try to invoke this,

🤷   Project Name : hlug
🔧   Creating project called `hlug`...
Error: ⛔   Error replacing placeholders `/tmp/hlug/README.md`

Caused by:
    liquid: Unknown variable
      with:
        requested variable=year

I'm just running this command per the tutorial,

cargo generate --git https://github.com/yewstack/yew-trunk-minimal-template

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.