A Vue.js project
Vue 2.9.6
cnpm 6.1.1
node 12.14.0
# install dependencies
cnpm install
# 安装axios
cnpm install axios -S
# 安装element-ui
cnpm install element-ui --save
# 安装好上面的依赖后用下面的命令启动前端,serve with hot reload at localhost:8081
cnpm run dev
# 接着进入后端的文件夹server中
cd server
# 启动后端,访问localhost:8081就可以使用这个工具
node index
For a detailed explanation on how things work, check out the guide and docs for vue-loader.