2.0.0 • Published 9 months ago

@mozc/vite-plugin-pug-indent-fix v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

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 vitePluginPugIndentFix from "vite-plugin-pug-indent-fix"

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

Nuxt

nuxt.config.js

import vitePluginPugIndentFix from "vite-plugin-pug-indent-fix"

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

9 months ago