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.

28 lines
568 B

5 years ago
  1. //公用
  2. GoUse(function () {
  3. });
  4. //分页面
  5. GoUseRegistered("index", function (query) {
  6. // 定义一个名为 button-counter 的新组件
  7. document.title = "govue";
  8. document
  9. .getElementsByName("keywords")[0]
  10. .setAttribute("content", "govue,服务端渲染,ssr");
  11. Vue.component('my-title', {
  12. template: '<h1 id="title">govue</h1>'
  13. });
  14. new Vue({
  15. el: "#app",
  16. data: {
  17. "desc": "基础golang开发的一套vue服务端渲染方案",
  18. "a": "官方ssr模式",
  19. },
  20. });
  21. });