An Nx (Project Crystal) plugin for developing with the Strapi CLI
# npm
npm install --save-dev @plastic-ant/nx-strapi
# yarn
yarn add --dev @plastic-ant/nx-strapi
Add this plugin to your nx.json
config:
"plugins": [
{
"plugin": "@plastic-ant/nx-strapi",
"options": { ... }
}
]
options:
buildTargetName (optional) target name for 'strapi build', default strapi-build
deployTargetName (optional) target name for 'strapi deploy', default strapi-deploy
developTargetName (optional) target name for 'strapi develop', default strapi-develop
startTargetName (optional) target name for 'strapi start', default strapi-start
This project is MIT licensed 2024 Plastic Ant Software