# test-blog **Repository Path**: wujiegis/test-blog ## Basic Information - **Project Name**: test-blog - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-22 - **Last Updated**: 2021-11-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 深入分析Vue两个版本 vue有两个版本,分别是完整版和非完整版 完整版, 需要编译器, 用HTML得到视图, 或者写在template选项里, 从cdn引入vue.js, 用webpack引入需要配置alias, 用@vue/cli 引入需要额外配置 非完整版, 不需要编译器, 视图写在render函数里, 用h来构建标签, 从cdn引入vue.runtime.js, 用webpack引入默认使用这版, 用@vue/cli 引入默认使用这版 使用完整版, 将视图写在template: ``` new Vue({ el: '#app', data: { n: 0 }, template: `