Replies: 1 comment
-
Solved. Doesn't work because the devtools don't work unless running off vite dev server. Doesn't work fully with compiled assets |
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 have a vite-based project (part of a Dotnet core project) and when working in development, I run
yarn vite build --mode development
to build development assets (since trying to use the dev server with a Dotnet project is more headache than I care to deal with).I'm using SFC's and mounting them with vanilla JS (based on some
data-component
anddata-props
attributes on my cshtml files), rather than doing a full SPA.When I open the DevTools in Chrome or Brave, I only see props and some DOM refs (where I need to attach something directly to a DOM element).
I'm not sure why this is happening. Maybe just a result of building development assets to disk versus using the devserver?
And yes, I may be a little bit crazy with this setup!
Beta Was this translation helpful? Give feedback.
All reactions