Create App with Framework7 CLI

Create App

To create Framework7 app, run the following command in the directory where you want to create the app:

$ framework7 create

Program will prompt for few questions about framework and template you want to start with.

Skip Update

On create command CLI will first check for CLI update to always deliver latest and better experience. If, for some reason, you want to disable it, you can run command with --skipUpdate flag:

$ framework7 create --skipUpdate

User Interface

Framework7 CLI allows to launch create app process with user interface. This way is the most recommended as it provides a much higher configuration of the created project.

To launch it with UI, run the create command with --ui flag in the directory where you want to create the app:

$ framework7 create --ui

It will launch UI where you will be able to configure the project:

By default it launches server on localhost:3001 address. If you want to change the port then use --port <n> argument:

$ framework7 create --ui --port 8080

NPX

If you didn't install Framework7 CLI globally, you can create the app using npx command.

For example:

$ npx framework7-cli create --ui