Skip to content

Commit

Permalink
fix: register plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Dec 4, 2019
1 parent 9f0eb95 commit 6f8cf96
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 4 additions & 4 deletions examples/apps/admin/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import adminPlugins from "@webiny/app-admin/plugins";
import i18nPlugins from "@webiny/app-i18n/admin/plugins";
import securityPlugins from "@webiny/app-security/admin/plugins";
import pageBuilderPlugins from "@webiny/app-page-builder/admin/plugins";
import formsPlugins from "@webiny/app-forms/admin/plugins";
import formsPageBuilderPlugins from "@webiny/app-forms/page-builder/admin/plugins";
import formBuilderPlugins from "@webiny/app-forms/admin/plugins";
import formBuilderPageBuilderPlugins from "@webiny/app-forms/page-builder/admin/plugins";
import cookiePolicyPlugins from "@webiny/app-cookie-policy/admin";
import googleTagManagerPlugins from "@webiny/app-google-tag-manager/admin";
import typeformPlugins from "@webiny/app-typeform/admin";
Expand All @@ -18,8 +18,8 @@ const plugins = [
i18nPlugins,
securityPlugins,
pageBuilderPlugins,
formsPlugins,
formsPageBuilderPlugins,
formBuilderPlugins,
formBuilderPageBuilderPlugins,
cookiePolicyPlugins,
googleTagManagerPlugins,
typeformPlugins,
Expand Down
4 changes: 4 additions & 0 deletions packages/cli/create/template/apps/admin/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import adminPlugins from "@webiny/app-admin/plugins";
import i18nPlugins from "@webiny/app-i18n/admin/plugins";
import securityPlugins from "@webiny/app-security/admin/plugins";
import pageBuilderPlugins from "@webiny/app-page-builder/admin/plugins";
import formBuilderPlugins from "@webiny/app-forms/admin/plugins";
import formBuilderPageBuilderPlugins from "@webiny/app-forms/page-builder/admin/plugins";
import cookiePolicyPlugins from "@webiny/app-cookie-policy/admin";
import googleTagManagerPlugins from "@webiny/app-google-tag-manager/admin";
import typeformPlugins from "@webiny/app-typeform/admin";
Expand All @@ -16,6 +18,8 @@ const plugins = [
i18nPlugins,
securityPlugins,
pageBuilderPlugins,
formBuilderPlugins,
formBuilderPageBuilderPlugins,
cookiePolicyPlugins,
googleTagManagerPlugins,
typeformPlugins,
Expand Down
6 changes: 5 additions & 1 deletion packages/cli/create/template/apps/site/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import typeformPlugins from "@webiny/app-typeform/render";
import mailchimpPlugins from "@webiny/app-mailchimp/render";
import gtmPlugins from "@webiny/app-google-tag-manager/render";
import i18nPlugins from "@webiny/app-i18n/site/plugins";
import formsSitePlugins from "@webiny/app-forms/site/plugins";
import formsPbPlugins from "@webiny/app-forms/page-builder/site/plugins";

const plugins = [
fileUploadPlugin(),
Expand All @@ -15,7 +17,9 @@ const plugins = [
typeformPlugins,
mailchimpPlugins,
gtmPlugins,
i18nPlugins
i18nPlugins,
formsSitePlugins,
formsPbPlugins
];

export default plugins;

0 comments on commit 6f8cf96

Please sign in to comment.