Skip to content

Navigation Menu

Sign in
Sign up

solid-start Locator.js support #163

Unanswered
nirtamir2 asked this question in Q&A
Nov 12, 2022 · 1 comments · 13 replies
Discussion options

Hi,
I try to config this extension to work with solid-start.
Added devtools({ name: true }) as the first vite.config.ts plugin.
It seems like the browser extension work, and if I explicitly add useLocator at entry-client.tsx I can mark the components.
But LocatorJS is not able to find the component in the code when I clicked the marked component name.
Can we add an example of how to integrate it with LocatorJS?

Thanks!

You must be logged in to vote

Replies: 1 comment 13 replies

Comment options

Hey,
Are you referring to LocatorJS or a similar feature of solid debugger? (which was inspired by locatorjs, so I named it the same way)

It seems that the mention of LocatorJS was removed from the readme when I was moving it to the debugger package... that's not good—may be confusing.

You must be logged in to vote
13 replies
Comment options

hmmm
that's possibly a bug then...
And yes, most examples aren't updated yet. Gonna try to debug this and publish an update.

Comment options

Thanks for your help! I really appreciate it! ❤️

Comment options

Just published an update. Should work better with solid start now.

Comment options

Great!
I can confirm that now the solid-devtools extension is detected out of the box with the vite plugin

image

Comment options

Still, I'm not able to navigate to the component source code. I can only see which component is it in the devtools extension (if it is open).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /