Create From 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:
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.
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.
- Open Triplex Standalone
- Click the "Create Project..." action
- Select a folder to install the template into
- Select the template you want to use
- 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!