All Projects → teamnovu → nuxt-breaky

teamnovu / nuxt-breaky

Licence: MIT License
Display your Tailwind CSS Breakpoints within Nuxtjs during Development

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
CSS
56736 projects

Projects that are alternatives of or similar to nuxt-breaky

aymaneMx.com
🎨 my personal website, built with Nuxt.js & TailwindCSS and Vue-Notion.
Stars: ✭ 26 (-79.84%)
Mutual labels:  nuxtjs, tailwindcss
website
My personal website and blog. Made with Nuxt.js and WindiCSS.
Stars: ✭ 19 (-85.27%)
Mutual labels:  nuxtjs, tailwindcss
nuxt-mail
Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
Stars: ✭ 62 (-51.94%)
Mutual labels:  nuxtjs, nuxtjs-module
cloudinary-module
Integration of Cloudinary to Nuxt.js
Stars: ✭ 129 (+0%)
Mutual labels:  nuxtjs, nuxtjs-module
Developmint.de
Open source company page built with Nuxt.js and TailwindCSS
Stars: ✭ 74 (-42.64%)
Mutual labels:  nuxtjs, tailwindcss
Tailwindcss Module
Tailwind CSS module for Nuxt
Stars: ✭ 678 (+425.58%)
Mutual labels:  nuxtjs, tailwindcss
norman-portfolio
Norman Nuthu's Portfolio
Stars: ✭ 16 (-87.6%)
Mutual labels:  nuxtjs, tailwindcss
Nuxt Tailwind
A Nuxt.js starter project template using Tailwind CSS without the distraction of a complicated development environment.
Stars: ✭ 71 (-44.96%)
Mutual labels:  nuxtjs, tailwindcss
Lichter.io
My own website and CV
Stars: ✭ 105 (-18.6%)
Mutual labels:  nuxtjs, tailwindcss
batu-gunting-kertas-nuxt
Rock Paper Scissors Game with Artificial Intellegence
Stars: ✭ 50 (-61.24%)
Mutual labels:  nuxtjs, tailwindcss
static-website
🖥 New Vue/Nuxt website for cdnjs.com - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 47 (-63.57%)
Mutual labels:  nuxtjs
variantwind
Most elegant way to work with TailwindCSS variants in Vue
Stars: ✭ 45 (-65.12%)
Mutual labels:  tailwindcss
nuxt-winston-log
Nuxt module for logging SSR errors using winston
Stars: ✭ 41 (-68.22%)
Mutual labels:  nuxtjs
cadhub
We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
Stars: ✭ 204 (+58.14%)
Mutual labels:  tailwindcss
starter-simba
Lion-based Design System
Stars: ✭ 18 (-86.05%)
Mutual labels:  tailwindcss
Events-based-organizational-website
The official codebase for college-based (event managing) organizations. FOUR-LEVEL Authorization system and scalable.
Stars: ✭ 14 (-89.15%)
Mutual labels:  tailwindcss
laravel-mix-tailwindcss-purgecss
Minimal Boilerplate for building static pages based on Laravel Mix 6, TailwindCSS 3, PostCSS 8, and ES6 Vanilla JS components.
Stars: ✭ 15 (-88.37%)
Mutual labels:  tailwindcss
substrate-docs
Substrate Developer Hub. Substrate is powered by best in class cryptographic research and comes with peer to peer networking, consensus mechanisms, and much more.
Stars: ✭ 63 (-51.16%)
Mutual labels:  tailwindcss
bento
A minimalist theme for Hugo, build with Tailwind CSS - https://bento-hugo-theme.netlify.app/
Stars: ✭ 58 (-55.04%)
Mutual labels:  tailwindcss
vite-ts-tailwind-starter
Opinionated Vite + Vue 3 + TypeScript + Tailwind CSS starter template w/ tests and CI.
Stars: ✭ 228 (+76.74%)
Mutual labels:  tailwindcss

nuxt-breaky

npm version License

Show Tailwind CSS Breakpoints in Nuxtjs when using the tailwindcss-module

📖 Release Notes

Intro

DEMO

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.

Demo GIF of window resizing Demo GIF of dragging Demo GIF of toggling dark mode

Requirements

Make sure tailwindcss-module: ^1.4.0 (or higher) is installed.

Setup

  1. Add @teamnovu/nuxt-breaky as a dev-dependency to your project
yarn add @teamnovu/nuxt-breaky --dev

# or npm install @teamnovu/nuxt-breaky --save-dev
  1. Add @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'
      }
    ]
  ]
}
  1. Add 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

Usage

The breaky module automatically adds the breaky plugin when in development mode. No need to register or include it anywhere else.

Configuration

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 */
  }
}

Available 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

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

Release

  1. yarn release
  2. npm publish

License

MIT License

Copyright (c) teamnovu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].