CLI Options
createâ
Create a new Farm project.
pnpm create farm
# or npm create farm
# or yarn create farm
# choose your favorite package manager
Other commands are provided by package @farmfe/cli
:
startâ
Start a dev server, compile the Farm project in development mode and watch file changes.
farm start
buildâ
Build a Farm project in production mode
farm build
previewâ
Preview the result of build
command.
farm build && farm preview
watchâ
Watch is usually used to compile a library project, it works Like start
command but it does not launch a dev server.
farm build