Skip to content

Commit 8e7c15a

Browse files
committed
chore: add usage docs
1 parent 3433bcb commit 8e7c15a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,26 @@ module.exports = {
7979

8080
<br></details>
8181

82+
## Usage
83+
84+
```ts
85+
import { myComponent } from './MyComponent.vue'
86+
import { myCard } from './my-card.vue'
87+
import { myFooter } from './my_footer.vue'
88+
```
89+
90+
### Volar
91+
92+
```jsonc
93+
// tsconfig.json
94+
{
95+
// ...
96+
"vueCompilerOptions": {
97+
"plugins": ["unplugin-vue-named-export/volar"]
98+
}
99+
}
100+
```
101+
82102
## Sponsors
83103

84104
<p align="center">

0 commit comments

Comments
 (0)