To bootstrap your @lazarv/react-server
project, you can also use @lazarv/create-react-server
, the official CLI tool to create a new project and add initial tools, features and third-party integrations to your project with ease, just by answering a few questions. To use the tool, run:
npx @lazarv/create-react-server
Completing the wizard, follow the instructions in your terminal to explore your new project and have fun!
Usage:
$ create-react-server [options]
Options:
--name <name> The name of the project
--preset <preset> The preset to use
--features <features> The features to use
--alias <alias> The TypeScript path alias to use
--host <host> The host to use
--port <port> The port to use
--deploy <deploy> The deployment adapter to use
--git Initialize a git repository
--dev Run in development mode
--open Open the project in the browser
--clean Clean the project directory before bootstrapping
--no-install Do not install dependencies (default: true)
--react-server <version> The version of @lazarv/react-server to use
-v, --version Display version number
-h, --help Display this message