/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
examples/getstarted/config/plugins.js
38 строк
741 B
Alexandre Bodin
chore: improve admin panel DX & add more advance plugin example
09 сен 2024, 12:11
09 сен 2024, 12:11
bceb8fa
Код
Авторство
О чём код?
'use strict'; module.exports = () => ({ graphql: { enabled: true, config: { endpoint: '/graphql', defaultLimit: 25, maxLimit: 100, apolloServer: { tracing: true, }, v4CompatibilityMode: true, }, }, documentation: { config: { info: { version: '1.0.0', }, }, }, myplugin: { enabled: true, resolve: `./src/plugins/local-plugin`, // From the root of the project config: { testConf: 3, }, }, // NOTE: set enabled:true to test with a pre-built plugin. Make sure to run yarn build in the plugin folder first todo: { enabled: false, resolve: `../plugins/todo-example`, // From the /examples/plugins folder }, });