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.
32 lines
584 B
32 lines
584 B
//公用
|
|
GoUse(function () {
|
|
|
|
// 定义一个名为 button-counter 的新组件
|
|
document.title = "govue";
|
|
|
|
document
|
|
.getElementsByName("keywords")[0]
|
|
.setAttribute("content", "govue,服务端渲染,ssr");
|
|
|
|
Vue.component('my-title', {
|
|
template: '<h1 id="title">govue</h1>'
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//分页面
|
|
GoUseRegistered("index", function (query) {
|
|
console.log("query:", JSON.stringify(query));
|
|
|
|
new Vue({
|
|
el: "#app",
|
|
data: {
|
|
"desc": "基础golang开发的一套vue服务端渲染方案"
|
|
},
|
|
|
|
});
|
|
});
|