|
@@ -11,6 +11,7 @@ import '~/styles/style-themes.scss';
|
|
|
|
|
|
|
|
import * as nextI18nConfig from '^/config/next-i18next.config';
|
|
import * as nextI18nConfig from '^/config/next-i18next.config';
|
|
|
|
|
|
|
|
|
|
+import { ActivatePluginService } from '~/client/services/activate-plugin';
|
|
|
import { NextThemesProvider } from '~/stores/use-next-themes';
|
|
import { NextThemesProvider } from '~/stores/use-next-themes';
|
|
|
|
|
|
|
|
import { useI18nextHMR } from '../services/i18next-hmr';
|
|
import { useI18nextHMR } from '../services/i18next-hmr';
|
|
@@ -37,6 +38,10 @@ function GrowiApp({ Component, pageProps }: GrowiAppProps): JSX.Element {
|
|
|
import('bootstrap/dist/js/bootstrap');
|
|
import('bootstrap/dist/js/bootstrap');
|
|
|
}, []);
|
|
}, []);
|
|
|
|
|
|
|
|
|
|
+ useEffect(() => {
|
|
|
|
|
+ ActivatePluginService.activateAll();
|
|
|
|
|
+ }, []);
|
|
|
|
|
+
|
|
|
const commonPageProps = pageProps as CommonProps;
|
|
const commonPageProps = pageProps as CommonProps;
|
|
|
// useInterceptorManager(new InterceptorManager());
|
|
// useInterceptorManager(new InterceptorManager());
|
|
|
useAppTitle(commonPageProps.appTitle);
|
|
useAppTitle(commonPageProps.appTitle);
|