|
1 | | -# vite-plugin-react-directives |
| 1 | +# react-directives-plugin |
2 | 2 |
|
3 | 3 |
|
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
10 | 10 |
|
11 | | -vite-plugin-react-directives is a vite plugin that allows you to add directives on top of files matched by patterns you |
| 11 | +react-directives-plugin is a vite plugin that allows you to add directives on top of files matched by patterns you |
12 | 12 | provide. Do not forget to add a `"use server"`, `"use client"` or `"use strict"` directive to the top of your file ever again! |
13 | 13 |
|
14 | 14 | ## Installation |
15 | 15 |
|
16 | 16 | ```bash |
17 | | -npm install -D vite-plugin-react-directives |
| 17 | +npm install -D react-directives-plugin |
18 | 18 | ``` |
19 | 19 |
|
20 | 20 | ## Usage |
21 | 21 |
|
22 | 22 | ```ts |
23 | | -import { reactDirectives } from "vite-plugin-react-directives"; |
| 23 | +import { reactDirectives } from "react-directives-plugin"; |
24 | 24 |
|
25 | 25 | export default defineConfig({ |
26 | 26 | plugins: [ |
|
0 commit comments