Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant't acess .jsx files #108

Closed
Octopodo opened this issue Oct 24, 2023 · 0 comments
Closed

Cant't acess .jsx files #108

Octopodo opened this issue Oct 24, 2023 · 0 comments

Comments

@Octopodo
Copy link

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant