Are you planning to create a Chrome DevTools extension (like Vue/React) for component debugging/state/stores/events etc? #567
Replies: 2 comments 2 replies
-
|
Components written in Vue, React, etc. should work with existing browser extensions in Astro projects. Some community members also created this “Astrospect” Chrome extension: https://chrome.google.com/webstore/detail/astrospect/pfefekfhnmbfcofpjojnpmhdakcadeil?hl=en — I haven’t tried it, but maybe it’s helpful? |
Beta Was this translation helpful? Give feedback.
-
|
Astro components do not really have state so I don't think it makes sense? We have the dev toolbar API (https://docs.astro.build/en/reference/dev-toolbar-app-reference/) that allows you to write custom things for your usecase. And you can use devtools in Vue/Preact/Solid out of the box, eg. https://docs.astro.build/en/guides/integrations-guide/vue/#devtools |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think the question is self-evident, not much to add.
I'm not sure how someone can build a complex application using components written in other frameworks and debug them without any kind of tooling in place...
Beta Was this translation helpful? Give feedback.
All reactions