
Security News
pnpm 10.16 Adds New Setting for Delayed Dependency Updates
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
@teamnovu/nuxt-breaky
Advanced tools
Show Tailwind CSS Breakpoints in Nuxtjs when using the tailwindcss-module
breaky helps you create your responsive designs faster. It extends the awesome tailwindcss-module. breaky reads your defined breakpoints within your tailwind config and shows the currently active breakpoint based on your browser window width.
The plugin will only be loaded during development mode and does not interfere with your production build.
Make sure tailwindcss-module: ^1.4.0
(or higher) is installed.
@teamnovu/nuxt-breaky
as a dev-dependency to your projectyarn add @teamnovu/nuxt-breaky --dev
# or npm install @teamnovu/nuxt-breaky --save-dev
@teamnovu/nuxt-breaky
to the buildModules
section of nuxt.config.js
NOTE: Use the modules
section if you are using Nuxt older than v2.9
. More Info
{
buildModules: [
// Simple usage
'@teamnovu/nuxt-breaky',
// With options
[
'@teamnovu/nuxt-breaky',
{
enabled: true,
enableInProd: false,
colorScheme: 'auto',
position: 'bottomRight'
}
]
]
}
exposeConfig: true
to the tailwindcss
section of nuxt.config.js
{
tailwindcss: {
exposeConfig: true
}
}
NOTE: Please be aware this adds ~19.5KB (~3.5KB) to the client bundle size when you are in development mode. More Info
The breaky module automatically adds the breaky plugin when in development
mode.
No need to register or include it anywhere else.
You can pass options to the breaky using both the module options and the Nuxt config way.
{
buildModules: {
['@teamnovu/nuxt-breaky', { /* module options */ }]
},
breaky: {
/* module options */
}
}
Option | Type | Default | Options | Description |
---|---|---|---|---|
enabled | Boolean | true | true | false | Enable/Disable breaky |
enableInProd | Boolean | false | true | false | Enable breaky in production (overrides the enabled option; Please be aware this adds ~19.5KB (~3.5KB) to the client bundle size. More Info) |
colorScheme | String | auto | 'auto' | 'light' | 'dark' | Switch between different color schemes |
position | String | 'bottomRight' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | Breakys starting position |
yarn install
yarn dev
yarn release
npm publish
Copyright (c) teamnovu
FAQs
Show Tailwind CSS Breakpoints in Nuxtjs
We found that @teamnovu/nuxt-breaky demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.