Skip to content

Commit 4ef85a9

Browse files
committed
minor docs tweak
1 parent 9c420e1 commit 4ef85a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/en/essentials/getting-started.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With
99
### HTML
1010

1111
``` html
12+
<script src="https://unpkg.com/vue/dist/vue.js"></script>
13+
<script src="https://unpkg.com/vue-router"></script>
14+
1215
<div id="app">
1316
<h1>Hello App!</h1>
1417
<p>
@@ -27,7 +30,7 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With
2730
### JavaScript
2831

2932
``` js
30-
// 0. If using a module system, call Vue.use(VueRouter)
33+
// 0. If using a module system (e.g. via vue-cli), import Vue and VueRouter and than call Vue.use(VueRouter).
3134

3235
// 1. Define route components.
3336
// These can be imported from other files

0 commit comments

Comments
 (0)