PageAI full logo

Available local commands (npm scripts)

Updated on

After you've deployed, cloned the git repository and installed the dependencies, you can run the following commands inside the project folder:

Development

First, run the development server:

npm run dev

Build

To build the site for production, run the following command:

npm run build

Then, run the production server:

npm run serve

Analyze

To analyze the bundle size, run the following command:

npm run analyze

Lint

To lint the code, run the following command:

npm run lint