We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c420e1 commit 4ef85a9Copy full SHA for 4ef85a9
docs/en/essentials/getting-started.md
@@ -9,6 +9,9 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With
9
### HTML
10
11
``` html
12
+<script src="https://unpkg.com/vue/dist/vue.js"></script>
13
+<script src="https://unpkg.com/vue-router"></script>
14
+
15
<div id="app">
16
<h1>Hello App!</h1>
17
<p>
@@ -27,7 +30,7 @@ Creating a Single-page Application with Vue.js + vue-router is dead simple. With
27
30
### JavaScript
28
31
29
32
``` js
-// 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).
34
35
// 1. Define route components.
36
// These can be imported from other files
0 commit comments