-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Milestone
Description
valype/website/src/getting-started.md
Lines 37 to 108 in 807b662
| ::: details Vite | |
| ```ts | |
| // vite.config.ts | |
| import valype from 'unplugin-valype/vite' | |
| export default defineConfig({ | |
| plugins: [ | |
| valype({ /* options */ }), | |
| ], | |
| }) | |
| ``` | |
| ::: | |
| ::: details Rollup | |
| ```ts | |
| // rollup.config.js | |
| import valype from 'unplugin-valype/rollup' | |
| export default { | |
| plugins: [ | |
| valype({ /* options */ }), | |
| ], | |
| } | |
| ``` | |
| ::: | |
| ::: details Webpack | |
| ```ts | |
| // webpack.config.js | |
| module.exports = { | |
| plugins: [ | |
| require('unplugin-valype/webpack')({ /* options */ }) | |
| ] | |
| } | |
| ``` | |
| ::: | |
| ::: details Nuxt | |
| ```ts | |
| // nuxt.config.js | |
| export default defineNuxtConfig({ | |
| modules: [ | |
| ['unplugin-valype/nuxt', { /* options */ }], | |
| ], | |
| }) | |
| ``` | |
| ::: | |
| ::: details Vue CLI | |
| ```ts | |
| // vue.config.js | |
| module.exports = { | |
| configureWebpack: { | |
| plugins: [ | |
| require('unplugin-valype/webpack')({ /* options */ }), | |
| ], | |
| }, | |
| } | |
| ``` | |
| ::: | |
| ::: details esbuild | |
| ```ts | |
| // esbuild.config.js | |
| import { build } from 'esbuild' | |
| import valype from 'unplugin-valype/esbuild' | |
| build({ | |
| plugins: [valype()], | |
| }) | |
| ``` | |
| ::: |
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers