This repository contains the source code for the Multi Content Type Relation Strapi plugin.
lib/- The plugin source code. Seelib/README.mdfor plugin usage, installation, and configuration instructions.example/- A Strapi application used for developing and testing the plugin locally.
The example/ directory contains a Strapi application with basic fixtures and a content type "Article" that already has a custom field configured to link articles and authors. The Strapi instance is correctly configured to use the plugin in development mode.
- Install all dependencies:
npm run dev:install- Start development mode (this will watch the plugin and start the example Strapi app):
npm run devAlternatively, you can run the commands separately:
- Start the plugin in watch mode:
cd lib && npm run watch- In another terminal, start the Strapi example application:
cd example && npm run devThe plugin will be automatically reloaded when you make changes to the code in the lib/ directory.
For information about installing, configuring, and using the plugin in your Strapi project, please refer to the plugin README.
Feel free to fork this repository and submit pull requests!