郑荣升
5 years ago
14 changed files with 97549 additions and 130 deletions
-
35govue/bindata.go
-
10govue/govue-js-src/build.js
-
67govue/govue-js-src/dist/index.js
-
3govue/govue-js-src/src/index.js
-
85427govue/govue-runtime/govue.js
-
6govue/govue-runtime/header.js
-
9govue/govue-runtime/runtime.js
-
53govue/govue.go
-
4readme.md
-
61static/index.html
-
11965static/js/vue.js
-
6static/js/vue.min.js
-
13static/ssr.vue
-
20static/use.js
35
govue/bindata.go
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
67
govue/govue-js-src/dist/index.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
85427
govue/govue-runtime/govue.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
11965
static/js/vue.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
6
static/js/vue.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,13 @@ |
|||
<div id="app">访问的 URL 是: {{ url }}</div> |
|||
<script gv-src> |
|||
var context = { |
|||
title: 'hello' |
|||
}; |
|||
var app = new Vue({ |
|||
el:"#app", |
|||
data: { |
|||
url: location.href |
|||
} |
|||
}); |
|||
GoVueRender("template/ssr.html", app, context) |
|||
</script> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue