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

Q: usage without npm #6

Open
opheliagame opened this issue Oct 27, 2024 · 2 comments
Open

Q: usage without npm #6

opheliagame opened this issue Oct 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@opheliagame
Copy link

I am wondering if it is possible to use pave without npm, for example with the p5js browser editor.
If not currently, is this something that will be possible in the future?

@baku89
Copy link
Owner

baku89 commented Oct 29, 2024

Thank you for asking!

Last week, I added partial support for non-npm/yarn environments, such as p5.js Editor.

Currently the pre-built version of the library only supports ES modules, so you need to add type="module" attribute to the <script> tag in the index.html, yet I'm planning to support global import such as other p5.js add-ons.

Here's the sample:
https://editor.p5js.org/baku89/sketches/TWCcM1Xw-

And the screen capture of the above sketch.
https://x.com/_baku89/status/1847858383279591908

@baku89 baku89 self-assigned this Oct 29, 2024
@baku89 baku89 added the enhancement New feature or request label Oct 29, 2024
@opheliagame
Copy link
Author

@baku89 will check this out soon! thanks for the amazing work <3 <3

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

No branches or pull requests

2 participants