
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@teamnovu/vue-breaky
Advanced tools
Show Tailwind CSS Breakpoints in Vuejs when using the tailwindcss
breaky helps you create your responsive designs faster. It extends the awesome tailwindcss. 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
is installed.
@teamnovu/vue-breaky
as a dev-dependency to your projectyarn add @teamnovu/vue-breaky --dev
# or npm install @teamnovu/vue-breaky --save-dev
main.js
import resolveConfig from 'tailwindcss/resolveConfig' // used to merge tailwindcss default config with your custom config
import Breaky from '@teamnovu/vue-breaky/lib/plugin-vue'
Vue.use(Breaky, {
tailwindConfig: resolveConfig(require('./tailwind.config')), // Required
// Additional options
enabled: true,
enableInProd: process.env.DEPLOY_ENV === 'GH_PAGES',
position: 'bottomRight',
colorScheme: 'auto',
})
NOTE: Please be aware this adds ~19.5KB (~3.5KB) to the bundle size when you are in development mode.
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 the Vue plugin options.
Vue.use(Breaky, {
/* plugin 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 Vuejs
We found that @teamnovu/vue-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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.