Vue2 multiple pages front-end project by webpack and cooking
npm i cooking-cli -g
npm run dev
npm run server
npm run dist
cooking doc vue2 doc axios doc koa doc
When running npm run dev Encountered error:
MSBUILD : error MSB4132: The tools version "2.0" is unrecognized. Available tools versions are "4.0".
you can try: open up a new cmd as administrator and run this command:
npm install --global --production windows-build-tools
then
npm config set msvs_version 2015 --global
close all instances of shell/cmd, reopen a cmd (regular this time, non-administrator) return to your directory where you are trying to run npm install and run it again -----From This article