vue install package command

1, first installed in the system nodejs and npm
sudo APT-GET-Legacy nodejs the install
sudo npm the install APT-GET
2, mounting means for mounting the nodejs n
sudo npm the install -gn
. 3, n through installation module specified nodejs
sudo latest the n-
sudo the n-stable
sudo the n-LTS
4, npm upgrade to the latest version of
sudo npm npm install -g @ latest
5, check the version of
sudo -v the Node
sudo npm -v

Start the deployment project
started jfinal-cms-shop administrator page
go to the corresponding directory, start the cmd window, enter the command
npm run dev

Packed project
npm run build or
npm run build: dll

Guess you like

Origin blog.51cto.com/harshing/2442506
Recommended