百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

seed-quickstart

> 前端框架
开源

启动种子应用软件的必备条件不足.

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

启动种子应用软件的必备条件不足.

Seed Quickstart

Basic Rust-only template for your new Seed app.

1. Create a new project

  1. You can use cargo generate to use this template.

    bash
    $ cargo generate --git https://github.com/seed-rs/seed-quickstart.git --name my-project
    $ cd my-project
  2. Alternatively, simply click on the green button Use this template on the GitHub profile of this quickstart.

  3. Make sure Git doesn't automatically convert your newlines to CRLF because linters don't like it.

    • Run $ git config --global core.autocrlf in your terminal and it should return input or false. See Git docs for more info.
  4. Clone your new repository to your local machine. I use GitKraken, but you are probably a better developer than me - use your favorite terminal.

2. Install / check required tools

  1. Make sure you have basic tools installed:

    • Rust
      • Check: $ rustc -V => rustc 1.43.1 (8d69840ab 2020-05-04)
      • Install: https://www.rust-lang.org/tools/install
    • cargo-make
      • Check: $ cargo make -V => cargo-make 0.30.7
      • Install: $ cargo install cargo-make
  2. Platform-specific tools like ssl and pkg-config:

    • Follow recommendations in build errors (during the next chapter).
    • Note: Don't hesitate to write notes or a tutorial for your platform and create a PR .

3. Prepare your project for work

  1. Open the project in your favorite IDE (I recommend VS Code + Rust Analyzer).
  2. Open a new terminal tab / window and run: cargo make serve
  3. Open a second terminal tab and run: cargo make watch
  4. If you see errors, try to fix them or write on our chat or forum.
  5. Modify files like README.md and Cargo.toml as you wish.

4. Write your website

  1. Open localhost:8000 in a browser (I recommend Firefox and Chrome).
  2. Modify source files (e.g. /src/lib.rs or /index.html).
  3. Watch compilation in the terminal tab where you run cargo make watch.
  4. You can watch dev-server responses in the tab where you run cargo make serve.
  5. Refresh your browser and see changes.
  6. Go to step 2.

5. Prepare your project for deploy

  1. Run cargo make verify in your terminal to format and lint the code.
  2. Run cargo make build_release.
  3. Upload index.html and pkg into your server's public folder.
    • Don't forget to upload also configuration files for your hosting, see the Netlify one below.
toml
# netlify.toml
[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200

Other Seed quickstarts and projects

  • seed-rs/awesome-seed-rs

!!! New Rust-only quickstart in development! => Seeder !!!


Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustframeworkfrontendrustseed

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架