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

Create template for SolidJS #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atilafassina
Copy link

Hey folks,
I'd like to offer a template for SolidJS to whoever is interest in building a plugin for Penpot.

I tried to base myself on the React template.

@mavalroot mavalroot self-requested a review November 10, 2024 09:17
@mavalroot mavalroot self-assigned this Nov 10, 2024
@mavalroot
Copy link
Collaborator

Hey @atilafassina ! Thanks you for your template, it looks really good! We're currently reviewing your code, it would be amazing if you can correct a few things

<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Penopot Solid</title>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a typo: Penopot -> Penpot

window.removeEventListener("message", themeSetter);
});

return <div data-theme={theme}>Welcome to your plugin!</div>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be {theme()} to get the value correctly

### Solid

```bash
cd vue-example-plugin
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be solid-example-plugin

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

Successfully merging this pull request may close these issues.

2 participants