Comments (7)
I can try to implement it if you like the idea :)
from devtools.
To me, it's not about when it is visible, it is about the scoping. If Nuxt has Web Vital built-in, then it makes sense to have it built in Nuxt DevTools. You can argue that there are a lot of things that are crucial to web development that might be worth including by default, like a11y, i18n, SEO, sitemaps, PWA..., and a lot of things. But it turns out that's the point of having modules - to allow each integration to be scoped and composed, while also allows different solutions and opinions to coexists.
from devtools.
Sounds like a nice idea! Since we have the web-vital module, I guess it would be better to have the devtools integrations in the module directly.
from devtools.
So you would recommend to implement this as a part of the Web Vitals module, not the new tab in the devtools?
from devtools.
Modules could extend DevTools tabs: https://devtools.nuxt.com/module/guide, users would see the tab only when the module is installed. A lot of modules are doing this way
from devtools.
Yeah yeah, I understand that.
But in general, you would recommend to have this Performance tab only visible when a user has this module installed?
from devtools.
Makes sense!
I will create an issue in the module repository then :)
from devtools.
Related Issues (20)
- feat: add a way to invoke nuxi commands
- Open Graph previews does not reflect the seoMeta
- Useless line
- undefined is not exported by NSectionBlock HOT 1
- _vfs cannot been retrieved if baseURL is different than / and behind proxy
- help: Cannot disable devtools HOT 1
- fix: vite-inspect won't use buildAssetsDir even if defined
- feat: integration with pinia HOT 1
- fix: failed to install module via devtools - yarn
- help: Unable to Use Nuxt DevTools When Enabling Cross-Origin Isolation for Web Containers HOT 2
- help: Devtools WebSocket disconnected HOT 1
- feat: detect unused components to help clean up old code HOT 2
- help: Nuxt Version is not display into DevTools dasboard
- feat: add option to hide `devtools` panel on smaller screen sizes HOT 2
- fix: keyboard shortcut does not work with non-qwerty keyboard layout HOT 1
- Nuxt + Devtools inside Electron does not load devtools correctly HOT 1
- docs: listed `pnpm` version in docs is different than `package.json` HOT 4
- docs: `Nuxt OG Image Playground` example link has been changed.
- fix: Navigate does not work for dynamic routing on the page tab. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devtools.