From 2e6d30a8967138363cb0a3b99f268788e3fc503d Mon Sep 17 00:00:00 2001 From: Rohit Singh <36300815+rayan1810@users.noreply.github.com> Date: Tue, 30 Nov 2021 19:28:46 +0530 Subject: [PATCH 1/2] fix: nextjs installation icon support (#148) --- docs/install-next.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/install-next.mdx b/docs/install-next.mdx index 009424422..5619d57a7 100644 --- a/docs/install-next.mdx +++ b/docs/install-next.mdx @@ -134,7 +134,7 @@ We'll need 2 more additional steps. ```bash - yarn add next-compose-plugins next-transpile-modules -D + yarn add next-compose-plugins next-transpile-modules @expo/next-adapter -D ``` @@ -152,6 +152,7 @@ We'll need 2 more additional steps. 2. Update your next.config.js with the below content. ```js +const { withExpo } = require('@expo/next-adapter'); const withPlugins = require('next-compose-plugins'); const withTM = require('next-transpile-modules')([ 'native-base', @@ -176,6 +177,7 @@ const withTM = require('next-transpile-modules')([ module.exports = withPlugins( [ withTM, + [withExpo, { projectRoot: __dirname }], // your plugins go here. ], { From 4c1299121c51a594ef64cf2821a2cdbf7b3bcd39 Mon Sep 17 00:00:00 2001 From: Rohit Singh <36300815+rayan1810@users.noreply.github.com> Date: Tue, 30 Nov 2021 19:41:55 +0530 Subject: [PATCH 2/2] Fix/installation nextjs (#150) * fix: nextjs installation icon support * fix: nextjs installation icon support * fix: nextjs installation icon support --- versioned_docs/version-3.2.2/install-next.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/versioned_docs/version-3.2.2/install-next.mdx b/versioned_docs/version-3.2.2/install-next.mdx index 4baea406b..8ba9191a7 100644 --- a/versioned_docs/version-3.2.2/install-next.mdx +++ b/versioned_docs/version-3.2.2/install-next.mdx @@ -134,7 +134,7 @@ We'll need 2 more additional steps. ```bash - yarn add next-compose-plugins next-transpile-modules -D + yarn add next-compose-plugins next-transpile-modules @expo/next-adapter -D ``` @@ -152,6 +152,7 @@ We'll need 2 more additional steps. 2. Update your next.config.js with the below content. ```js +const { withExpo } = require('@expo/next-adapter'); const withPlugins = require('next-compose-plugins'); const withTM = require('next-transpile-modules')([ 'native-base', @@ -176,6 +177,7 @@ const withTM = require('next-transpile-modules')([ module.exports = withPlugins( [ withTM, + [withExpo, { projectRoot: __dirname }], // your plugins go here. ], {