# vue_example **Repository Path**: y9287/vue_example ## Basic Information - **Project Name**: vue_example - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-11-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue_example ## 制作Gitee Page运行的项目: - 项目根目录新建`vue.config.js`文件,并设置 ``` module.exports = { baseUrl: '/vue_example/' }; ``` - build`Vue`项目为html文件; - Gitee的服务中的设置 ![](http://y76.oss-cn-beijing.aliyuncs.com/18-11-22/31802025.jpg) #### 浪费很多时间的问题: - 通过`vue-cli3`新建的项目的文件会自动加入到git管理中。 - dist默认不能提交到`github`上,需要在`gitignore`中配置。 - 想要提交到`github`之间,必须先在git中添加。 - dist部分新建文件不会自动加入到git提交列表中。 - 目前WebStrom是3版本,而Gitee只支持2版本,导致无法直接使用Gitee #### 发现: - 通过Gitee中导入Github项目来,如果修改在Github中进行更新就好。 ![](http://y76.oss-cn-beijing.aliyuncs.com/18-11-22/9819210.jpg) - 在Gitee服务的Pages页面同步会自动重新部署。 ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Run your tests ``` npm run test ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).