Basic Settings for Starting Vuejs and Nodejs Servers

summary

This is a sample project that launches a web server using NodeJs and checks the VueJs core grammar.

Test Deploy URL

https://shlee0882.github.io/vuejs-nodejs-basic-setting

Share installation method

https://shlee0882.tistory.com/282?category=797808

Using vue js core syntax

The following syntax is used in the source, and the function is implemented for testing.

  • data-bind
  • on-click
  • props
  • components
  • data()
  • computed
  • created()
  • methods
  • $emit

Code explanation

https://shlee0882.tistory.com/283?category=797808

Running it

npm install
npm run serve

Distributing GitHub Pages

  1. Installing gh-pages
npm install --save gh-pages
  1. Add to package.json
"homepage": "https://shlee0882.github.io/vuejs-nodejs-basic-setting/"

"scripts": {
    "predeploy": "npm run build",
    "deploy": "gh-pages -d dist"
}
  1. Deploy
npm run deploy
  1. Checking the deployed URL
https://shlee0882.github.io/vuejs-nodejs-basic-setting

reference

See Configuration Reference.

Download Details:

Author: shlee0882

Source Code: https://github.com/shlee0882/vuejs-nodejs-basic-setting

#nodejs #node #vue #vuejs #javascript

Basic Settings for Starting Vuejs and Nodejs Servers
3.20 GEEK