Skip to content

Configuring Vue3-Mq

When installing Vue3-Mq, you can pass a config object with any of the options below:

js
app.use(Vue3Mq, {
	// config options here
});
NameTypeDefaultDescription
presetString"bootstrap5"Use breakpoints preset. Options are: bootstrap3, bootstrap4, vuetify, tailwind or devices.
breakpointsObjectnullCustom breakpoints config. Object keys and values = breakpoint name and min-width respectively.
mergeBreakpointsObject{}Breakpoints that will be merged in with the selected preset.
defaultBreakpointStringnullScreen breakpoint to use before browser window is available (i.e. in SSR)
defaultOrientationStringnullScreen orientation to use before browser window is available. [landscape or portrait]
defaultThemeStringnullOS / browser theme to use before browser window is available. [light or dark]
defaultMotionStringnullMotion preference to assume before browser window is available. [reduce or no-preference]

Released under the MIT License.