JSPM

  • Created
  • Published
  • Downloads 508
  • Score
    100M100P100Q140072F
  • License MIT

Package Exports

  • @nx-extend/strapi
  • @nx-extend/strapi/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nx-extend/strapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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)