1.0.5 • Published 1 year ago

vite-plugin-inject-html v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

vite-plugin-inject-html

npm package node compatibility

Detailed Documentation

For fully typed and detailed documentation, please visit here.

Install

Required version:

  • Node.js >= 14.18.0
  • Vite >= 2.0.0
pnpm add -D vite-plugin-inject-html

Basic usage

// vite.config.ts
import { defineConfig } from 'vite'
import injectHTMLPlugin from 'vite-plugin-inject-html'

export default defineConfig({
  plugins: [
    injectHTMLPlugin({
      // ...options
    }),
    // ...otherPlugins
  ]
})

Supported Options

  • favicon - favicon url
  • title - title
  • metas - <meta> tags
  • links - <link> tags
  • externalStyleSheets - external style sheet urls
  • scripts - <script> tags
  • noscripts - <noscript> tags
  • otherTags - other tags or customizing injectTo
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.1

2 years ago