@0x-jerry/unplugin-demoblock
v0.1.0-beta.0
Published
Easier to import a demo.
Downloads
2
Maintainers
Readme
Unplugin demoblock
Easier to import a DemoBlock, see an example.
Install
npm i @0x-jerry/unplugin-demoblock
Usage
Vite
// vite.config.ts
import DemoBlock from '@0x-jerry/unplugin-demoblock/vite'
export default defineConfig({
plugins: [
DemoBlock({
/* options */
}),
],
})
Example: playground/
Webpack
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('@0x-jerry/unplugin-demoblock/webpack')({
/* options */
}),
],
}