/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/cli/create-strapi-app/templates/example/src/index.ts
20 строк
566 B
Alexandre Bodin
enhancement: use script instead of bootstrap for example seed
16 сен 2024, 19:11
16 сен 2024, 19:11
30e5d19
Код
Авторство
О чём код?
// import type { Core } from '@strapi/strapi'; export default { /** * An asynchronous register function that runs before * your application is initialized. * * This gives you an opportunity to extend code. */ register(/* { strapi }: { strapi: Core.Strapi } */) {}, /** * An asynchronous bootstrap function that runs before * your application gets started. * * This gives you an opportunity to set up your data model, * run jobs, or perform some special logic. */ bootstrap(/* { strapi }: { strapi: Core.Strapi } */) {}, };