0.0.1 • Published 7 months ago

@farmfe/js-plugin-vuetify v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@farmfe/js-plugin-vuetify

Farm plugin for Vuetify, a component framework for Vue 3.

Install

npm i @farmfe/js-plugin-vuetify -D

or yarn/pnpm

pnpm add @farmfe/js-plugin-vuetify -D

Usage

// farm.config.ts
import vuetify from "@farmfe/js-plugin-vuetify";
import vue from "unplugin-vue/vite";

defineConfig({
  plugins: [vue(), vuetify()],
});

Options

Vuetify plugin options are re-exported from @vuetify/loader-shared.

autoImport

Type annotations defined in @vuetify/loader-shared:

interface ObjectImportPluginOptions {
  labs?: boolean;
  ignore?: (keyof typeof Components | keyof typeof Directives)[];
}
type ImportPluginOptions = boolean | ObjectImportPluginOptions;
  • Type: ImportPluginOptions
  • Default: true

Whether to automatically import Vuetify components and directives.

styles

  • Type:
true | 'none' | 'sass' | {
  configFile: string;
};
  • Default: true

Determine how to import the Vuetify styles.

0.0.1

7 months ago