/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
templates/website/src/index.ts
21 строка
561 B
Alexandre Bodin
chore(create-strapi-app): implement new templates system
26 авг 2024, 15:57
26 авг 2024, 15:57
c641525
Код
Авторство
О чём код?
// import type { Core } from '@strapi/strapi'; import { bootstrap } from './bootstrap'; 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, };