create-tangle
Project
This project is based on the "https://www.npmjs.com/package/create-vite" project and repurposed to create tngle.net apps.
Scaffolding Your First tangle Project
Compatibility Note: tangle requires Node.js version 18+, 20+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With NPM:
$ npm create tangle@latest
With Yarn:
$ yarn create tangle
With PNPM:
$ pnpm create tangle
With Bun:
$ bunx create-tangle
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 tangle game project, run:
# npm 7+, extra double-dash is needed:
npm create tangle@latest my-tangle-game -- --template game-ts
# yarn
yarn create tangle my-tangle-game --template game-ts
# pnpm
pnpm create tangle my-tangle-game --template game-ts
# Bun
bunx create-tangle my-tangle-game --template game-ts
Currently supported template presets include:
game-ts
You can use .
for the project name to scaffold in the current directory.