create-fx-app
CLI
This CLI tool enables you to quickly start building a new Fx application, with everything set up for you. To get started, use the following command:
npx create-fx-app
To create a new app in a specific folder, you can send a name as an argument. For example, the following command will create an app called blog-app
in a folder with the same name:
npx create-fx-app blog-app
Options
create-fx-app
comes with the following options:
- -p, --preset [name]|[github-url] - Presets act as sharable set of feature configurations. You may want to bootstrap your application as a Sass app, a Ecommerce app, or a Marketplace app; presets allow you to do that by cloning the template and scaffolding a set of preconfigured features. A list of officially supported presets can be found seen by running
npx fx list
.