Nx plugin to generate and run your Strapi project.
npm install -D @nx-extend/strapi
nx g @nx-extend/strapi:init
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 |
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) |