Create From Template

Start building your next app using an official template.

Creating a new project from a template is the fastest way to start building your next app with Triplex.

Using the CLI

In a folder where your projects live run create-triplex-project:

Terminal
npx create-triplex-project@latest

When running you'll see the following prompts, if you're not sure what to choose press enter to accept the default.

Terminal
What should we call your project? my-triplex-project
What template would you like to use? basic
What package manager do you use? pnpm
Will initialize into a new folder, continue? Yes / No
Open project in Visual Studio Code? Yes / No

After answering the prompts your project will be created and dependencies installed using your selected package manager.

Using Triplex Standalone

Create a new project from a template using Triplex Standalone.

  1. Open Triplex Standalone
  2. Click the "Create Project..." action
  3. Select a folder to install the template into
  4. Select the template you want to use
  5. Select the package manager you want to use (npm/yarn/pnpm)

After answering the prompts your project will be created and dependencies installed using your selected package manager.

Official Templates

Templates for creating all kinds of projects are sourced from the official repository. Want to suggest a new template? Create an issue or pull request and let's get it added!

Was this page helpful?