# vue+node.js **Repository Path**: salad2017/vue-nodejs ## Basic Information - **Project Name**: vue+node.js - **Description**: vue+egg.js(node.js)+mysql 打造pc官网 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-10-14 - **Last Updated**: 2022-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: eggjs, Nodejs ## README # vue+node.js打造官网
## 1. 打开前端 vue-view ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Lints and fixes files ``` yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 2. 打开后端 node-server see [egg docs][egg] for more detail. ### 导入mysql数据库 ./db_base.sql ### 配置链接信息 ./config/config.default.js ### Development ```bash $ npm i $ npm run dev $ open http://localhost:7001/ ``` ### Deploy ```bash $ npm start $ npm stop ``` ### npm scripts - Use `npm run lint` to check code style. - Use `npm test` to run unit test. - Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail. [egg]: https://eggjs.org