Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View media query stats when in dev mode #1

Open
igemnace opened this issue Aug 15, 2017 · 0 comments
Open

View media query stats when in dev mode #1

igemnace opened this issue Aug 15, 2017 · 0 comments
Assignees

Comments

@igemnace
Copy link

igemnace commented Aug 15, 2017

It would be useful to have a tiny overlay that displays media query stats (e.g. wXS: false, wXM: false) in the corner, similar to how Chromium shows a tiny overlay that displays the resolution if the window is resized while Chrome Dev Tools is open.

Such a feature should definitely only be active in dev mode. Maybe a dev option, so one can easily do:

// ...

Vue.use(VueMediaQueryMixin, {
  dev: process.env.NODE_ENV === 'development',

  // ...
});

or whatever condition is needed to specify dev mode.

@jofftiquez jofftiquez self-assigned this Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants