How to import island plugins? #2408
Unanswered
CarcajadaArtificial
asked this question in
Q&A
Replies: 1 comment
-
If you import ChipList from it's actual location (rather than the islands directory), does Fresh treat it as an island? As in, does it get hydrated, behave interactively, etc..? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a plugin that adds an island, but I'm unable to import it. According to the docs:
But when I try to import the island from a route it using
import Chiplist from '../../islands/Chiplist.tsx'
I get aModule not found
error. When running the build task, everything seems to work fine regarding the creation and execution of the plugin.This is how I'm adding the island to my plugin.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions