JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25
  • Score
    100M100P100Q54073F
  • License MIT

创建一个基于 Cloudflare Worker、React 和 Rust WASM 的模板项目

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (create-worker-rs-template) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    create-worker-rs-template

    用于初始化 worker-rs-template 项目的 npm 脚手架。

    用法

    pnpm create worker-rs-template my-app

    或:

    npm create worker-rs-template@latest my-app

    如果不传项目名:

    pnpm create worker-rs-template

    脚手架会提示输入项目名称;如果直接回车,会自动生成 worker-rs-<6位随机hash> 形式的目录名。

    本地发布前检查

    cd tools/create-worker-rs-template
    npm pack