Skip to content

Commit 27193df

Browse files
authored
docs: example reference for beginners
1 parent 5d35297 commit 27193df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ Vue.component('my-component', {
299299
300300
## Browser
301301
302+
> All the examples on the demo page utilize [single-file components](https://vuejs.org/v2/guide/single-file-components.html). To use them in your project you need a build tool like webpack. Check out [#35](../../issues/35) for a simpler example you can use right in the browser.
303+
302304
You need to include a script and CSS file. You can pull both from [unpkg.com](https://unpkg.com). Make sure to replace `[VERSION]` with the version you need (for example `1.0.1`):
303305
304306
```html
@@ -327,3 +329,4 @@ Vue.component('my-component', {
327329
// ...
328330
)
329331
```
332+

0 commit comments

Comments
 (0)