create-xc-app
v2.4.12
Published
Create a project in seconds!
Downloads
25
Maintainers
Readme
create-xc-app
Create a project in seconds!
Compatibility Note: Vite requires Node.js version >=12.0.0.
With NPM:
npm init xc-app
With Yarn:
yarn create xc-app
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Vite + WebAssembly + React project, run:
# npm 6.x
npm init xc-app my-wasm-app --template wasm-react
# npm 7+, extra double-dash is needed:
npm init xc-app my-wasm-app -- --template wasm-react
Currently supported template presets include:
react-dva-ts
wasm-react
wasm-vue
deno-oak
deno-vscode-cmd
: Baseddeno
andvscode user snippets
, displaying all"@cmd: "
commands in the project.snippets
must contain"@cmd: "
string- the string must be in the first 10 lines of the file will be matched
$ deno run --allow-read --allow-write cmd.ts
- use cachecmd.output
$ deno run --allow-read --allow-write cmd.ts --update
- updatecmd.output
file$ deno run --allow-read --allow-write cmd.ts --update=tree
- tree structure
Related List
- vite-plugin-rsw: wasm-pack plugin for vite@v2.
- WebAssembly入门
- WebAssembly Series
- 🦕 Deno: A secure runtime for JavaScript and TypeScript.
- 🦕 Oak: A middleware framework for Deno's net server.
- 🦕 deno-getfiles: Recursively get all files in a directory
- Dvajs: React and redux based, lightweight and elm-style framework.
- Vite: Native-ESM powered web dev build tool. It's fast.
- VS Code User Snippets: Code snippets are templates that make it easier to enter repeating code patterns, such as loops or conditional-statements.
License
MIT License © 2020 lencx