CLI commands

A list of useful commands for working with the Saas UI Next.js starter kit.

Here is a list of useful commands for working with the Saas UI Next.js starter kit.

CommandDescription
yarn dev:webStart the development server
yarn storybookStart the Storybook server
yarn build:webBuild the production app
yarn build:storybookBuild the Storybook for production
yarn build:tokensBuild the design tokens for autocompletion
yarn db:pushPush the database schema to the database
yarn billing:syncSync the billing configuration into the database
clean:packagesClean build artifacts in all packages
format:checkCheck code formatting
format:writeWrite code formatting
lintRun the linter
lint:fixFix linting issues

Commands prefixed with saas-ui are used for development of Saas UI Pro and you should not need to run them in a normal development workflow.

Was this helpful?