Getting Started
Using tool
You can create zely application easily with create-zely.
- Download Template
bash
$ npx create-zely
? Project name: my-app
? Directory: my-app
? Template: javascript$ npx create-zely
? Project name: my-app
? Directory: my-app
? Template: javascriptbash
$ yarn create zely
? Project name: my-app
? Directory: my-app
? Template: javascript$ yarn create zely
? Project name: my-app
? Directory: my-app
? Template: javascript- Install Dependencies
bash
$ npm install$ npm installbash
$ yarn$ yarn- Run!
bash
$ npm dev # start app$ npm dev # start appbash
$ yarn dev # start app$ yarn dev # start appManual Installation
You can also add zely to a project that already exists.
Enter the command below:
bash
$ npm install --save-dev zely$ npm install --save-dev zelybash
$ yarn add -D zely$ yarn add -D zelyAdd the configuration file (zely.config.ts).
ts
import { defineConfig } from 'zely/config';
export default defineConfig({
// options
});import { defineConfig } from 'zely/config';
export default defineConfig({
// options
});TIP
reference: config references