since ‎11-10-2018
‎10-12-2019
chgovind
Level 2
Re: Creating a container component
Avatar

chgovind

chgovind
- Adobe Experience Manager
I have posted a similar question for React side. Has anyone implemented it yet? Examples Appreciated. Including a layout Container in a React component

Views

1.3K

Likes

0

Replies

0
Re: Including a layout Container in a React component
Avatar

chgovind

chgovind
- Adobe Experience Manager
Does this help us to achieve the Goal? Can anyone help me how to use this? JSDoc: Home

Views

2.5K

Likes

0

Replies

1
Re: Calling third party REST api call form clinet side on AEM (e.g. localhost:4052 )
Avatar

chgovind

chgovind
- Adobe Experience Manager
Yes that's a way but we are trying to make calls only from react client.

Views

3.3K

Likes

0

Replies

2
Re: Including a layout Container in a React component
Avatar

chgovind

chgovind
- Adobe Experience Manager
Yes,I am bit new to this stack, I am able to create several components and publish. But stuck with above question.Adding a component, which holds some html and a placeholder for another component to be inserted.

Views

2.5K

Likes

0

Replies

0
Including a layout Container in a React component
Avatar

chgovind

chgovind
- Adobe Experience Manager
I am trying create a REACT component which holds the Layout container, so that I can insert another component into the same.(in the editor).

Views

2.8K

Likes

0

Replies

4
Re: Calling third party REST api call form clinet side on AEM (e.g. localhost:4052 )
Avatar

chgovind

chgovind
- Adobe Experience Manager
You are close. What if the third party API doesn't allow CORS. Is there a way to handle this in Local AEM environment?

Views

3.3K

Likes

0

Replies

4
Calling third party REST api call form clinet side on AEM (e.g. localhost:4052 )
Avatar

chgovind

chgovind
- Adobe Experience Manager
Let's say we are calling an a third party API directly from React using axios/fetch. (localhost:9000)To handle CORS issues we set proxy in packege.json/webpack.config, and "passing relative URL" to axios/fetch(THIS WORKS!!) NOW we deployed the same in AEM and hosting on localhost:4502.(THIS DOESN'T WORK)I understand that now react build is deployed and proxy will not work in production, but I am looking for a way to handle it once it's deployed and served on AEM.

Views

3.9K

Like

1

Replies

6
Likes from