Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
docs: updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c committed May 30, 2023
1 parent 128e395 commit 73878c0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.ZH-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ pnpm add unplugin-vue-ce -D
```

## Usage

> Tips: 你需要开启 `@vitejs/plugin-vue``customElement` 选项
<details>
<summary>Vite</summary>

Expand All @@ -39,7 +42,9 @@ import vue from '@vitejs/plugin-vue'
import type { PluginOption } from 'vite'
export default defineConfig({
plugins: [
vue(),
vue({
customElement: true,
}),
viteVueCE() as PluginOption,
],
})
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ pnpm add unplugin-vue-ce -D
```

## Usage

> Tips: You need to enable the `customElement` option of `@vitejs/plugin-vue`
<details>
<summary>Vite</summary>

Expand Down
3 changes: 3 additions & 0 deletions packages/sub-style/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ pnpm add @unplugin-vue-ce/sub-style
```

## Usage

> Tips: You need to enable the `customElement` option of `@vitejs/plugin-vue`
<details>
<summary>Vite</summary>

Expand Down

0 comments on commit 73878c0

Please sign in to comment.