2.3.0 • Published 3 years ago

@midwayjs/vite-plugin-hooks v2.3.0

Weekly downloads
89
License
MIT
Repository
github
Last release
3 years ago

@midwayjs/vite-plugin-hooks

Usage

  1. Install dependencies:
$ npm install @midwayjs/vite-plugin-hooks -D
  1. Modify vite.config.ts or vite.config.js
import { defineConfig } from 'vite';
import hooks from '@midwayjs/vite-plugin-hooks';

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [hooks()],
});
  1. Referring to examples, add the following file
  • midway.config.ts
  • src/apis/lambda/index.ts
3.0.0-alpha.0

3 years ago

2.4.0-alpha.0

3 years ago

2.3.0

3 years ago

2.3.0-next.1

3 years ago

2.3.0-next.0

3 years ago

2.2.5-next.7

3 years ago

2.2.5-next.6

3 years ago

2.2.5-next.5

3 years ago

2.2.5-next.4

3 years ago

2.2.5-next.3

3 years ago

2.2.5-next.2

3 years ago

2.2.5-next.1

3 years ago

2.2.5-next.0

3 years ago

2.2.4

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.2.0-next.11

3 years ago

2.2.0-next.10

3 years ago

2.2.0-next.9

3 years ago

2.2.0-next.8

3 years ago

2.2.0-next.7

3 years ago

2.2.0-next.6

3 years ago

2.2.0-next.5

3 years ago

2.2.0-next.4

3 years ago

2.2.0-next.3

3 years ago

2.2.0-next.2

3 years ago

2.2.0-next.1

3 years ago

2.2.0-next.0

3 years ago

2.1.0

3 years ago

2.1.0-next.7

3 years ago

2.1.0-next.6

3 years ago

2.1.0-next.5

3 years ago

2.1.0-next.2

3 years ago

2.1.0-next.4

3 years ago

2.1.0-next.3

3 years ago

2.1.0-next.1

3 years ago

2.1.0-next.0

3 years ago

2.0.1-next.0

3 years ago

2.0.0

3 years ago

2.0.0-next.5

3 years ago

2.0.0-next.4

3 years ago

2.0.0-next.2

3 years ago

2.0.0-next.3

3 years ago

2.0.0-next.1

3 years ago