the portlet code looks like this: ``` /** *@NApiV...
# suitescript
s
the portlet code looks like this:
Copy code
/**
 *@NApiVersion 2.x
 *@NScriptType Portlet
 */
define([],
    function() {
        function render(params) {
            params.portlet.title = 'React Test';
          params.portlet.clientScriptModulePath = '/SuiteScripts/repo/portlets/react_app/main.js';
            var content = '<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><style>.active{font-weight:700}.nav ul{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;text-decoration:none}.nav li:first-child,ul{padding-left:0}li{list-style-type:none;padding:10px;text-decoration:none}</style><meta name="theme-color" content="#000000"><title>React App</title></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root">react soon</div></body></html>';
            params.portlet.html = content;
        }
        return {
            render: render
        };
    });
I’m trying to include the react script with
params.portlet.clientScriptModulePath = '/SuiteScripts/repo/portlets/react_app/main.js';