Getting Started
In this chapter, we will introduce how to create your first zely app.
#Using tool
You can create zely application easily with create-zely.
- Download the template using the
zely-cli
tool:
Terminal
npx zely-cli init --dir my-app --template=typescript
- Install Dependencies:
Terminal
npm install
- Run the app:
Terminal
npm dev # start app
#Manual Installation
You can also add zely to a project that already exists.
Enter the command below:
npm
npm install --save-dev zely
Add the configuration file (zely.config.ts
).
zely.config.ts
import { defineConfig } from 'zely';
export default defineConfig({
// options
});