You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
582 B
29 lines
582 B
//公用
|
|
GoUse(function () {
|
|
|
|
|
|
|
|
});
|
|
|
|
//分页面
|
|
GoUseRegistered("index", function (query) {
|
|
// 定义一个名为 button-counter 的新组件
|
|
document.title = "govue";
|
|
|
|
document
|
|
.getElementsByName("keywords")[0]
|
|
.setAttribute("content", "govue,服务端渲染,ssr");
|
|
|
|
Vue.UseRaw().component('my-title', {
|
|
template: '<h1 id="title">govue{{a}}</h1>'
|
|
});
|
|
|
|
new Vue({
|
|
el: "#app",
|
|
data: {
|
|
"desc": "基础golang开发的一套vue服务端渲染方案",
|
|
"a": "官方ssr模式",
|
|
},
|
|
|
|
});
|
|
});
|