create-xc-app

2.4.12 • Public • Published

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: Based deno and vscode 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 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 structure

Related List

License

MIT License © 2020 lencx

Package Sidebar

Install

npm i create-xc-app

Weekly Downloads

9

Version

2.4.12

License

MIT

Unpacked Size

53.6 kB

Total Files

62

Last publish

Collaborators

  • l8n