@nx-extend/strapi
TypeScript icon, indicating that this package has built-in type declarations

9.0.2 • Public • Published

@nx-extend/strapi

@nx-extend/strapi NPM package

Nx plugin to generate and run your Strapi project.

Setup

Install

npm install -D @nx-extend/strapi
nx g @nx-extend/strapi:init

Usage

Build

Available options:

name type default description
--production boolean false Build in production mode
--root string Project root Root of the Strapi project to use
--outputPath string Output path to output the build to
--envVars object Define env variables to set before building (can be used in project.json)
--generateLockFile string false Generate a lockfile

Serve

Available options:

name type default description
--build string true Starts your application with the autoReload enabled and skip the administration panel build process
--watchAdmin string false Starts your application with the autoReload enabled and the front-end development server. It allows you to customize the administration panel
--root string Project root Root of the Strapi project to use
--envVars object Define env variables to set before building (can be used in project.json)

Readme

Keywords

Package Sidebar

Install

npm i @nx-extend/strapi

Weekly Downloads

1,989

Version

9.0.2

License

MIT

Unpacked Size

55.3 kB

Total Files

49

Last publish

Collaborators

  • tripss