vite-plugin-vue-pug-indent-fix

1.0.4 • Public • Published

vite-plugin-vue-pug-indent-fix

This plugin is resolve the Unexpected token "indent" error in Vue 3.

How to use this plugin

Vite

vite.config.js

import vue from '@vitejs/plugin-vue'
import vitePluginVuePugIndentFix from "vite-plugin-vue-pug-indent-fix"

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

Nuxt

nuxt.config.js

import vitePluginVuePugIndentFix from "vite-plugin-vue-pug-indent-fix"

export default defineNuxtConfig({
  vite: {
    plugins: [vitePluginVuePugIndentFix()]
  }
})

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-vue-pug-indent-fix

Weekly Downloads

153

Version

1.0.4

License

MIT

Unpacked Size

1.76 kB

Total Files

4

Last publish

Collaborators

  • bawappie