From c3bff57cab9bdde9ff538dedb6c8ac46289e03a8 Mon Sep 17 00:00:00 2001 From: xavcz Date: Thu, 19 Jan 2017 08:32:33 +0100 Subject: [PATCH] customization-demo: import order + comments --- packages/customization-demo/lib/modules.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/customization-demo/lib/modules.js b/packages/customization-demo/lib/modules.js index b922a7e31..360183c59 100644 --- a/packages/customization-demo/lib/modules.js +++ b/packages/customization-demo/lib/modules.js @@ -2,14 +2,18 @@ Let's import all our files here. */ +// general business logic of this customization import "./callbacks.js" import "./emails.js" import "./custom_fields.js" import "./i18n.js" import "./groups.js" -import "./routes.jsx" +// custom components import "./components/CustomLogo.jsx"; import "./components/CustomNewsletter.jsx"; import "./components/CustomPostsItem.jsx"; import "./components/MyCustomPage.jsx"; + +// custom routes +import "./routes.jsx";