vue koa demo
1.0.0
A novice who came into contact with the full stack for the first time made a small demo that has been deployed online.
Node environment construction in Alibaba Cloud CentOS environment
A front-end and back-end separation project deployment practice
A first look at Vue SSR
vue-koa-demo
git clone [email protected]:MrElvin/vue-koa-demo.git
cd vue-koa-demo && npm install
cd vue-koa-demo/server && npm install
In order to run the project locally, you need:
server/routes/index.js
, uncomment the ninth line and set the port number to the port number configured in the local mongod.conf file, comment out the tenth line Execute npm run dev
in the project root path and open the browser localhost:8080
Execute cd ./server && node ./bin/www
in the project root path
mongod -f /path/to/your/mongod.conf