Плагины Medusa
B
Badge plugin
Plugin para incorporar badges personalizados en productos.
npm install medusa-badge-plugin
Категория
other
Создано
qbk
Тип
unknown
Последнее обновление
1 месяц назад
Ежемесячные загрузки
19
Medusa v2 Example: Badges Plugin
This directory holds the code for the badges plugin.
Prerequisites
Installation
- In your Medusa application, run the following command to install the wishlist plugin:
yarn add medusa-badge-plugin # or npm install medusa-badge-plugin
- Add the plugin to the array in :
module.exports = defineConfig({// ...plugins: [{resolve: "medusa-badge-plugin",options: {}}]})
- Run the command to run migrations and sync links:
npx medusa db:migrate
Test it Out
To test out that the plugin is working, you can also import the OpenAPI Spec file and make us of the API routes added by this plugin.