This project aims to help quickly bootstrap frontend applications with Stacks.js on top of the following JavaScript frameworks as the foundation.
- Live Stacks React (Vite) Starter Template
- Live Stacks React (CRA) Starter Template
- Live Stacks React (Next.js) Starter Template
- Live Stacks Svelte Starter Template
- Live Stacks SvelteKit Starter Template
- Live Stacks Vue Starter Template
- Live Stacks Angular Starter Template
The following command creates an interactive CLI (Command Line Interface), allowing you to select your favorite framework to use with Stacks.js and start building in an instant!
npm create stacks
Prerequisites: Node.js (with
npm
>= v7.x.x)
Similar great templates and projects using Stacks.js:
- stacks-next-auth-example by @pradel: An example of Sign-In with Stacks (using Message Signing) and NextAuth.js
Run the npm create stacks
command to launch interactive mode by default.
Similar commands exist in other package managers.
Example: yarn create stacks
The npm init
and its alias npm create
can be seen as an alias for npm exec create-<...>
.
It's also possible to pass the selected framework as a parameter if you prefer a non-interactive mode:
npm create --template svelte
...where svelte
is the example selected framework and initializes from templates/template-svelte
. We can choose any available framework from the templates/
directory.
Apache License 2.0 — You can find relevant attribution and licenses of dependencies at ATTRIBUTION.md