Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 0bfd42c

Browse files
committed
docs: add usage example
1 parent 52a25e8 commit 0bfd42c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ As vue-loader is for webpack and vueify is for browserify, similarly its for rol
77

88
With rollup you can break your application into reusable modules.
99

10-
> See [docs](http://vuejs.github.io/rollup-plugin-vue) for installing, using and contributing.
11-
1210
<p align="center">
1311
<a href="https://circleci.com/gh/vuejs/rollup-plugin-vue">
1412
<img src="https://circleci.com/gh/vuejs/rollup-plugin-vue.svg?style=svg" alt="Build Status" />
@@ -37,6 +35,19 @@ With rollup you can break your application into reusable modules.
3735
</a>
3836
</p>
3937

38+
## Usage
39+
40+
```js
41+
import vue from 'rollup-plugin-vue'
42+
43+
export default {
44+
entry: 'main.js',
45+
plugins: [
46+
vue(/* options */)
47+
]
48+
}
49+
```
50+
4051
## Security
4152

4253
If you discover any security related issues, please email [email protected] instead of using the issue tracker.

0 commit comments

Comments
 (0)