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

Docs site shows incorrect import statement in examples #121

Closed
tonyketcham opened this issue Apr 2, 2022 · 0 comments · Fixed by #120
Closed

Docs site shows incorrect import statement in examples #121

tonyketcham opened this issue Apr 2, 2022 · 0 comments · Fixed by #120
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@tonyketcham
Copy link
Owner

tonyketcham commented Apr 2, 2022

Describe the bug
In doc site examples (see Vectors, etc.) the P5 component import statement is the relative path to where P5.svelte lives inside the repo rather than the user-facing import path of p5-svelte.

Currently

import P5 from "$lib/P5.svelte";

Should change to

import P5 from "p5-svelte";
@tonyketcham tonyketcham added bug Something isn't working documentation Improvements or additions to documentation labels Apr 2, 2022
@tonyketcham tonyketcham self-assigned this Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant