vite-plugin-vue-pug-lint

vite pug-lint plugin for vue single file components
2,268 1
Install
npm install vite-plugin-vue-pug-lint
Latest Version:1.1.0
License:MIT
Last Updated:Feb 13, 2022
Links: GitHub  ·  npm
Maintainer: brzezinskimarcin

vite-plugin-vue-pug-lint

npm GitHub license

Vite pug-lint plugin for vue single file components. If you used vue-pug-lint-loader and would like to have the same functionality you might need this plugin.

Install

npm install vite-plugin-vue-pug-lint --save-dev
# or
yarn add vite-plugin-vue-pug-lint --dev

Usage

import { defineConfig } from 'vite';
import pugLint from 'vite-plugin-vue-pug-lint';
import vue from '@vitejs/plugin-vue';

export default defineConfig({
  plugins: [
    pugLint(),
    vue(),
  ],
});

Options

configFile

  • Type: string
  • Default: undefined

Custom config file path, equivalent to specifying -c option in pug-lint cli. If not provided, it looks for default config files, like described in pug-lint readme.

include

File(s) to include when linting

exclude

File(s) to exclude when linting

License

MIT

Related Packages

@vinxi/vite-plugin-inspect

Inspect the intermediate state of Vite plugins

8,820 1,699
vite-plugin-vue-md

Simple and fast vue3 markdown vite plugin

365 1
@vitejs/plugin-vue

The official plugin for Vue SFC support in Vite.

257,315,514 686
vite-plugin-checker

Vite plugin that runs TypeScript type checker on a separate process.

133,975,562 1,242
@vitejs/plugin-vue-jsx

Provides Vue 3 JSX & TSX support with HMR.

70,765,098 686

Version History

Version Released License
1.1.0 MIT