@scaff/vite-plugin-node
- a plugin use in vite
- please use with @scaff/vue
install
yarn add -D @scaff/vite-plugin-node
use
// vite.config.js
import scaffPlugin from '@scaff/vite-plugin-node';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [vue(), scaffPlugin()],
});
2020.4