# blog **Repository Path**: lzdn/blog ## Basic Information - **Project Name**: blog - **Description**: 用vue改造一个现有的博客 - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: release - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-02-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # blog > A Vue.js project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). #note 程序入口 main.js main.js 入口中引入了,app.vue 并引入了router。app.vue 写了页面的一些公共部分,其他的通过路由去动态改变页面内容。