Skip to content

createMettleApp

A set of command line tools for quickly building Mettle projects. createMettleApp is built using Vite, a new front-end building tool that significantly improves the front-end development experience.

Scaffolding Your First Mettle Project

bash
npm create mettle-app@latest

Choose a template

You can choose the corresponding template according to your needs.

  • mettle

Mettle is developed using JSX syntax.

  • mettle-apps

Use JSX syntax to develop Mettle + mettleRouter, which is suitable for jumping multiple pages and slightly more complex applications.

  • mettle-ts

Mettle is developed using TSX syntax.

  • mettle-apps-ts

Use TSX syntax to develop Mettle + mettleRouter, which is suitable for jumping multiple pages and slightly more complex applications.

Released under the MIT License.