• Stars
    star
    209
  • Rank 188,325 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Zero-config Nuxt Module for Vuetify
vuetify-nuxt-module - Zero-config Nuxt Module for Vuetify

Zero-config Nuxt Module for Vuetify

NPM version NPM Downloads Docs & Guides
GitHub stars


πŸš€ Features

  • πŸ“– Documentation & guides
  • πŸ‘Œ Zero-Config: sensible built-in default Vuetify configuration for common use cases
  • πŸ”Œ Extensible: expose the ability to customize the Vuetify configuration via Nuxt Runtime Hooks
  • ⚑ Fully Tree Shakable: by default, only the needed Vuetify components are imported
  • πŸ› οΈ Versatile: custom Vuetify directives and labs components registration
  • ✨ Configurable Styles: configure your variables using Vuetify SASS Variables
  • πŸ’₯ SSR: automatic SSR detection and configuration including HTTP Client hints
  • πŸ”© Nuxt Layers and Module Hooks: load your Vuetify configuration using Nuxt Layers or using a custom module via vuetify:registerModule Nuxt Module Hook
  • πŸ“₯ Vuetify Configuration File: configure your Vuetify options using a custom vuetify.config file, no dev server restart needed
  • πŸ”₯ Pure CSS Icons: no more font/js icons, use the new unocss-mdi icon set or build your own with UnoCSS Preset Icons
  • πŸ˜ƒ Icon Fonts: configure the icon font you want to use, the module will automatically import it for you using CDN or local dependencies
  • 🎭 SVG Icons: ready to use @mdi/js and @fortawesome/vue-fontawesome SVG icons packs
  • πŸ“¦ Multiple Icon Sets: register multiple icon sets
  • 🌍 I18n Ready: install @nuxtjs/i18n Nuxt module, and you're ready to use Vuetify internationalization features
  • πŸ“† Date Components: use Vuetify components that require date functionality installing and configuring one of the @date-io adapters
  • πŸ’¬ Auto-Import Vuetify Locale Messages: add Vuetify Locale Messages adding just the locales you want to use, no more imports needed
  • βš™οΈ Auto-Import Vuetify Composables: you don't need to import Vuetify composables manually, they are automatically imported for you
  • 🎨 Vuetify Blueprints: use Vuetify Blueprints to quickly scaffold components
  • πŸ‘€ Nuxt DevTools: ready to inspect your Vuetify styles with the Nuxt DevTools inspector
  • 🦾 Type Strong: written in TypeScript

πŸ“¦ Install

Requires Vite, will not work with Webpack

npm i vuetify-nuxt-module -D 

# yarn 
yarn add vuetify-nuxt-module -D

# pnpm 
pnpm add vuetify-nuxt-module -D

Open in StackBlitz

πŸ¦„ Usage

vuetify-nuxt-module is strongly opinionated and has a built-in default configuration out of the box. You can use it without any configuration, and it will work for most use cases.

Add vuetify-nuxt-module module to nuxt.config.ts and configure it:

// Nuxt config file
import { defineNuxtConfig } from 'nuxt/config'

export default defineNuxtConfig({
  modules: [
    'vuetify-nuxt-module'
  ],
  vuetify: {
    moduleOptions: {
      /* module specific options */
    },
    vuetifyOptions: {
      /* vuetify options */
    }
  }
})

Read the πŸ“– documentation for a complete guide on how to configure and use this module.

πŸ‘€ Full config

Check out the types.

The virtual modules can be found in configuration.d.ts file.

πŸ“„ License

MIT License Β© 2023-PRESENT JoaquΓ­n SΓ‘nchez

More Repositories

1

vuetify

πŸ‰ Vue Component Framework
TypeScript
39,740
star
2

awesome

πŸŽ‰ The best resources related to Vuetify
1,641
star
3

vuetify-loader

πŸ“¦ Webpack and Vite plugins for treeshaking Vuetify components and more
TypeScript
510
star
4

vue-cli-plugins

πŸ”Œ A collection of Vuetify plugins for Vue CLI
JavaScript
427
star
5

eslint-plugin-vuetify

An eslint plugin for Vuetify
JavaScript
120
star
6

create

πŸ› οΈ Build tooling for Vuetify 3
Vue
63
star
7

webpack-ssr

Vuetify Webpack SSR Template
JavaScript
62
star
8

vuex

πŸ“š Mono-repo structure for Vuetify Vuex modules
JavaScript
43
star
9

vuex-cognito-example

Example project with vuex-cognito
Vue
40
star
10

eslint-config-vuetify

πŸ’Ό Opinionated eslint config for Vuetify projects
JavaScript
36
star
11

theme-generator

Vuetify Theme Generator
Vue
25
star
12

vuetify-vscode

The official Vuetify extension for VSCode.
21
star
13

docs-next

Vue
18
star
14

vue-cli-preset-vuetify

πŸ—ƒ An opinionated Vue CLI 3 Vuetify Preset
JavaScript
16
star
15

blog-starter

HTML
15
star
16

vue-cli-plugin-vuetify-storybook

πŸ“– A Vue CLI 3 Plugin for using Storybook with Vuetify
JavaScript
11
star
17

preset

πŸ—ƒ A collection of opinionated Vue CLI presets for Vuetify
10
star
18

vue-cli-plugin-vuetify-cli

πŸ”¨ A Vue CLI 3 Plugin for Scaffolding Vue / Vuetify projects
JavaScript
10
star
19

rfcs

RFCs for substantial changes / feature additions to Vuetify
7
star
20

one

Reusable components for integrating Vuetify properties.
Vue
7
star
21

v3-preset

4
star
22

tryvuetify

JavaScript
4
star
23

community-bot

JavaScript
3
star
24

vuetify-helper-json

IDE integration information
2
star
25

cz-changelog-vuetify

πŸ”¦ An opinionated conventional change-log preset for commitizen
JavaScript
2
star
26

bulma-design-system

Vue
2
star
27

close-action

JavaScript
1
star
28

triage-action

JavaScript
1
star
29

vue-cli-plugin-vuetify-essentials

A Vue CLI 3 Plugin for use with the Vuetify preset
JavaScript
1
star
30

premium-theme-issues

For reporting bugs, issues, and feature requests for Vuetify's premium themes.
1
star
31

conventional-changelog-vuetify

πŸ’‘ A conventional change log preset for Vuetify
JavaScript
1
star