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
create-zelytool:
Terminal
$ npx create-zely
? Project name: my-app
? Directory: my-app
? Use Typescript: Yes
? Use Export Default: Yes
Cloning Templates...
$ cd my-app
$ npm i
$ npm run dev
Happy Hacking!- 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 zelyAdd the configuration file (zely.config.ts).
zely.config.ts
import { defineConfig } from 'zely/config';
export default defineConfig({
// options
});reference: config references