File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,25 @@ describe('Item', () => {
23
23
const extensions = {
24
24
filters : { timeAgo, host }
25
25
}
26
+ const html = `
27
+ <html>
28
+ <head></head>
29
+ <body>
30
+ <div id="app"></div>
31
+ <script src="https://unpkg.com/vue@2.5.3"></script>
32
+ </body>
33
+ </html>
34
+ `
35
+ // <script src="https://unpkg.com/vue-router@3.0.1"></script>
36
+ // hmm, when adding the vue router getting an error inside the RouterLink
37
+ // render function
38
+ // var router = this.$router;
39
+ // var current = this.$route;
40
+ // var ref = router.resolve(this.to, current, this.append);
41
+ // this.$router is undefined
42
+ // Seems VueRouter.install(Vue) did not go well
26
43
const options = {
27
- vue : 'https://unpkg.com/vue' ,
44
+ html ,
28
45
extensions
29
46
}
30
47
You can’t perform that action at this time.
0 commit comments