Create Fusion.js App
Creates a Fusion.js application using the command line.
If you are using Yarn:
$ yarn create fusion-app <appName>
If you are using npm:
$ npx create-fusion-app <appName>
The tool will scaffold a new project and install all dependencies into the specified project folder. To start your project, just run
$ cd <appName> $ yarn dev
Then, visit http://localhost:3000 to see your app.
The scaffold is preconfigured to use React. It also comes with common plugins already registered:
- React router
- React helmet
- Universal events
Compiles and runs the application in development mode.
Runs eslint using the provided lint rules.
Runs tests using Jest.
Builds a development bundle.
Builds a production bundle.
Starts the application.
For more information, visit the Fusion.js documentation at https://fusionjs.com for basic information, how-to guides, and in depth references.