crescware / moment-digest

0 stars 0 forks source link

最初にやったこと #1

Closed okunokentaro closed 1 year ago

okunokentaro commented 1 year ago

最新版に

$ rustup update
$ rustc --version
rustc 1.73.0 (cc66ad468 2023-10-03)

$ cargo --version
cargo 1.73.0 (9c4383fb5 2023-08-26)

$ rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/okunokentaro/.rustup

installed targets for active toolchain
--------------------------------------

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain
----------------

stable-x86_64-apple-darwin (default)
rustc 1.73.0 (cc66ad468 2023-10-03)

tauriの準備

$ xcode-select --install

Rustのインストールは済んでいるため省略。

Tauri > HTML, CSS, and JavaScript

$ cargo install create-tauri-app --locked
$ cargo create-tauri-app
✔ Project name · moment-digest
✔ Choose which language to use for your frontend · Rust - (cargo)
✔ Choose your UI template · Yew - (https://yew.rs/)

Template created!

Your system is missing dependencies (or they do not exist in $PATH):
╭───────────┬───────────────────────────────╮
│ Tauri CLI │ Run `cargo install tauri-cli` │
├───────────┼───────────────────────────────┤
│ Trunk     │ Run `cargo install trunk`     │
╰───────────┴───────────────────────────────╯

Make sure you have installed the prerequisites for your OS: https://tauri.app/v1/guides/getting-started/prerequisites, then run:
  cd moment-digest
  cargo tauri dev

最初からYewがあるのがよい。

okunokentaro commented 1 year ago

2 mergeによりclose