Closed Octopodo closed 1 year ago
I'm trying to integrate mi old .jsx files and I can't figure out how to access them. For test purpouses I've writed a simple index.jsx with just analert("Hello from my custom JSX"). Then edited my cep.config.ts as is in the readme:
index.jsx
alert("Hello from my custom JSX")
cep.config.ts
panels: [ { mainPath: "./main/index.html", name: "main", [...] scriptPath: "./src/jsx/my-old-scrips/index.jsx", }, ], copyAssets:[ "./src/jsx/my-old-scrips/index.jsx"]
My .jsx file is within the indicated path but the alert is not running ,so I imagine I must be doing something wrong.
I would appreciate it if you could tell me how I can use my old scripts properly.
I'm trying to integrate mi old .jsx files and I can't figure out how to access them. For test purpouses I've writed a simple
index.jsx
with just analert("Hello from my custom JSX")
. Then edited mycep.config.ts
as is in the readme:My .jsx file is within the indicated path but the alert is not running ,so I imagine I must be doing something wrong.
I would appreciate it if you could tell me how I can use my old scripts properly.