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
: Based deno
and vscode user snippets
, displaying all "@cmd: "
commands in the project.
snippets
must contain "@cmd: "
string$ deno run --allow-read --allow-write cmd.ts
- use cache cmd.output
$ deno run --allow-read --allow-write cmd.ts --update
- update cmd.output
file$ deno run --allow-read --allow-write cmd.ts --update=tree
- tree structureMIT License © 2020 lencx