I use Next.js and App Router.
I took the license key from Claim License Key, and I use the Community License.
My npm dependencies are:
"@syncfusion/ej2-base": "~29.2.4",
"@syncfusion/ej2-react-buttons": "~29.2.5",
"@syncfusion/ej2-react-charts": "~29.2.8",
"@syncfusion/ej2-react-dropdowns": "~29.2.8",
"@syncfusion/ej2-react-grids": "~29.2.8",
"@syncfusion/ej2-react-maps": "~29.2.4",
"@syncfusion/ej2-react-navigations": "~29.2.8",
"@syncfusion/ej2-react-splitbuttons": "~29.2.4",
I put the register license in a component to render on the client side, and I put it in app/layout.tsx like the below images:
It still displays the error like "This application was built using a trial version of Syncfusion® Essential Studio®. To remove the license validation message permanently, a valid license key must be included. Claim your free account"
Hi Harry Huynh,
Upon reviewing your packages shared, we noticed that the ej2-base dependency. These are sub-dependent packages and will be automatically installed with our React component packages. So, only including our React component package is sufficient.
npx command as an alternative approach. Please find below the documentation link for registering the license through the npx command:Regards,
Deepika