ChanCMS

Vue3框架专题

2025-11-30 16:30:00 ChanCMS 阅读(22)

Vue3框架专题

Vue3是Vue.js的最新版本,带来了许多令人兴奋的新特性和改进。

主要特性

  • Composition API
  • 更好的TypeScript支持
  • 性能提升
  • 更小的包体积

核心概念

响应式系统、组件化、虚拟DOM、模板语法等

当前页面数据源:

{
  "settings": {
    "x-powered-by": true,
    "etag": "weak",
    "env": "prd",
    "query parser": "simple",
    "subdomain offset": 2,
    "trust proxy": true,
    "views": [
      "./view"
    ],
    "jsonp callback name": "callback",
    "view options": {
      "debug": false,
      "cache": true,
      "minimize": true,
      "filename": "/root/media-manage/view/default/special.html"
    },
    "view engine": "html"
  },
  "template": "default",
  "domain": "www.chancms.top",
  "static_url": "/public/view/default/",
  "APP_VERSION": "3.6.0",
  "site": {
    "name": "ChanCMS",
    "domain": "www.chancms.top",
    "email": "867528315@qq.com",
    "wx": null,
    "icp": "皖ICP备2024030927号-1",
    "code": "",
    "title": "ChanCMS演示站",
    "keywords": "ChanCMS演示站",
    "description": "ChanCMS是一款基于Express和MySQL研发的高质量实用型CMS管理系统。它具备多种类型网站开发,易扩展、基于模块化和插件化开发模式,适用于商用企业级程序开发。",
    "json": ""
  },
  "nav": [
    {
      "id": 1,
      "pid": 0,
      "name": "首页",
      "pinyin": "home",
      "path": "/home",
      "orderBy": 1,
      "target": "0",
      "status": "0",
      "listView": "index.html",
      "articleView": "index.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 2,
      "pid": 0,
      "name": "文章",
      "pinyin": "art3",
      "path": "/art3",
      "orderBy": 2,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "children": [
        {
          "id": 8,
          "pid": 2,
          "name": "文档",
          "pinyin": "doc",
          "path": "/art2/doc",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "article.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "0",
          "level": 1
        }
      ],
      "level": 1
    },
    {
      "id": 3,
      "pid": 0,
      "name": "图片",
      "pinyin": "pics",
      "path": "/pics",
      "orderBy": 3,
      "target": "0",
      "status": "0",
      "listView": "list-img.html",
      "articleView": "article-img.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 4,
      "pid": 0,
      "name": "视频",
      "pinyin": "video",
      "path": "/video",
      "orderBy": 4,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 5,
      "pid": 0,
      "name": "下载",
      "pinyin": "down",
      "path": "/down",
      "orderBy": 5,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article-down.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 6,
      "pid": 0,
      "name": "专题",
      "pinyin": "topic",
      "path": "/topic",
      "orderBy": 6,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "special.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 7,
      "pid": 0,
      "name": "关于",
      "pinyin": "about",
      "path": "/about",
      "orderBy": 7,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "children": [
        {
          "id": 9,
          "pid": 7,
          "name": "作者",
          "pinyin": "zuozhe",
          "path": "/about/zuozhe",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "page.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "1",
          "level": 1
        }
      ],
      "level": 1
    }
  ],
  "category": [
    {
      "id": 8,
      "pid": 2,
      "name": "文档",
      "pinyin": "doc",
      "path": "/art2/doc",
      "orderBy": 0,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 9,
      "pid": 7,
      "name": "作者",
      "pinyin": "zuozhe",
      "path": "/about/zuozhe",
      "orderBy": 0,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 1,
      "pid": 0,
      "name": "首页",
      "pinyin": "home",
      "path": "/home",
      "orderBy": 1,
      "target": "0",
      "status": "0",
      "listView": "index.html",
      "articleView": "index.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 2,
      "pid": 0,
      "name": "文章",
      "pinyin": "art3",
      "path": "/art3",
      "orderBy": 2,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "children": [
        {
          "id": 8,
          "pid": 2,
          "name": "文档",
          "pinyin": "doc",
          "path": "/art2/doc",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "article.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "0",
          "level": 1
        }
      ],
      "level": 1
    },
    {
      "id": 3,
      "pid": 0,
      "name": "图片",
      "pinyin": "pics",
      "path": "/pics",
      "orderBy": 3,
      "target": "0",
      "status": "0",
      "listView": "list-img.html",
      "articleView": "article-img.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 4,
      "pid": 0,
      "name": "视频",
      "pinyin": "video",
      "path": "/video",
      "orderBy": 4,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 5,
      "pid": 0,
      "name": "下载",
      "pinyin": "down",
      "path": "/down",
      "orderBy": 5,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "article-down.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "0",
      "level": 1
    },
    {
      "id": 6,
      "pid": 0,
      "name": "专题",
      "pinyin": "topic",
      "path": "/topic",
      "orderBy": 6,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "special.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    },
    {
      "id": 7,
      "pid": 0,
      "name": "关于",
      "pinyin": "about",
      "path": "/about",
      "orderBy": 7,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "page.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "children": [
        {
          "id": 9,
          "pid": 7,
          "name": "作者",
          "pinyin": "zuozhe",
          "path": "/about/zuozhe",
          "orderBy": 0,
          "target": "0",
          "status": "0",
          "listView": "list.html",
          "articleView": "page.html",
          "seoTitle": "",
          "seoKeywords": "",
          "seoDescription": "",
          "type": "1",
          "level": 1
        }
      ],
      "level": 1
    }
  ],
  "friendlink": [
    {
      "title": "ChanCMS官网",
      "link": "https://www.chancms.top"
    }
  ],
  "frag": {
    "test1": "<p>欢迎使用ChanCMS系统1</p>"
  },
  "tag": [
    {
      "id": 2,
      "name": "chancms",
      "path": "chancms",
      "count": 8
    },
    {
      "id": 1,
      "name": "图片",
      "path": "pic",
      "count": 7
    },
    {
      "id": 3,
      "name": "122",
      "path": "1",
      "count": 1
    }
  ],
  "news": [
    {
      "id": 11,
      "title": "数据库优化专题1",
      "shortTitle": "",
      "img": "/public/cover/10.jpg",
      "createdAt": "2024-10-03 09:15:00",
      "description": "MySQL性能优化、索引设计、SQL调优等实战技巧",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    },
    {
      "id": 10,
      "title": "Vue3框架专题",
      "shortTitle": "",
      "img": "/public/cover/09.jpg",
      "createdAt": "2024-10-02 14:30:00",
      "description": "全面解析Vue3的Composition API、响应式原理、性能优化等",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    },
    {
      "id": 9,
      "title": "Node.js技术专题",
      "shortTitle": "",
      "img": "/public/cover/08.jpg",
      "createdAt": "2024-10-01 10:00:00",
      "description": "深入探索Node.js核心技术、异步编程、框架应用等内容",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    }
  ],
  "hot": [
    {
      "id": 11,
      "title": "数据库优化专题1",
      "path": "/topic",
      "pv": 71
    },
    {
      "id": 10,
      "title": "Vue3框架专题",
      "path": "/topic",
      "pv": 23
    },
    {
      "id": 9,
      "title": "Node.js技术专题",
      "path": "/topic",
      "pv": 20
    }
  ],
  "imgs": [
    {
      "id": 11,
      "title": "数据库优化专题1",
      "shortTitle": "",
      "img": "/public/cover/10.jpg",
      "createdAt": "2024-10-03 09:15:00",
      "description": "MySQL性能优化、索引设计、SQL调优等实战技巧",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    },
    {
      "id": 10,
      "title": "Vue3框架专题",
      "shortTitle": "",
      "img": "/public/cover/09.jpg",
      "createdAt": "2024-10-02 14:30:00",
      "description": "全面解析Vue3的Composition API、响应式原理、性能优化等",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    },
    {
      "id": 9,
      "title": "Node.js技术专题",
      "shortTitle": "",
      "img": "/public/cover/08.jpg",
      "createdAt": "2024-10-01 10:00:00",
      "description": "深入探索Node.js核心技术、异步编程、框架应用等内容",
      "pinyin": "topic",
      "name": "专题",
      "path": "/topic"
    }
  ],
  "tags": [
    {
      "id": 1,
      "path": "pic",
      "name": "图片"
    }
  ],
  "count": 1,
  "pre": {
    "id": 9,
    "title": "Node.js技术专题",
    "name": "专题",
    "path": "/topic"
  },
  "next": {
    "id": 11,
    "title": "数据库优化专题1",
    "name": "专题",
    "path": "/topic"
  },
  "cate": {
    "id": 6,
    "pid": 0,
    "name": "专题",
    "pinyin": "topic",
    "path": "/topic",
    "orderBy": 6,
    "target": "0",
    "status": "0",
    "listView": "list.html",
    "articleView": "special.html",
    "seoTitle": "",
    "seoKeywords": "",
    "seoDescription": "",
    "type": "1",
    "level": 1
  },
  "article": {
    "id": 10,
    "cid": 6,
    "subCid": "",
    "title": "Vue3框架专题",
    "shortTitle": "",
    "tagId": "1",
    "attr": "",
    "articleView": "",
    "source": "",
    "author": "",
    "description": "全面解析Vue3的Composition API、响应式原理、性能优化等",
    "img": "/public/cover/09.jpg",
    "content": "<h2>Vue3框架专题</h2><p>Vue3是Vue.js的最新版本,带来了许多令人兴奋的新特性和改进。</p><h3>主要特性</h3><ul><li>Composition API</li><li>更好的TypeScript支持</li><li>性能提升</li><li>更小的包体积</li></ul><h3>核心概念</h3><p>响应式系统、组件化、虚拟DOM、模板语法等</p>",
    "status": 0,
    "pv": 22,
    "link": "",
    "createdAt": "2024-10-02 14:30:00",
    "updatedAt": "2025-11-30 16:30:00",
    "field": {}
  },
  "position": [
    {
      "id": 6,
      "pid": 0,
      "name": "专题",
      "pinyin": "topic",
      "path": "/topic",
      "orderBy": 6,
      "target": "0",
      "status": "0",
      "listView": "list.html",
      "articleView": "special.html",
      "seoTitle": "",
      "seoKeywords": "",
      "seoDescription": "",
      "type": "1",
      "level": 1
    }
  ],
  "_locals": {},
  "cache": false
}