1. Project configuration
node 15.14.0
Official website download
https://nodejs.org/zh-cn/download/releases
npm 7.7.6
Install npm automatically after downloading node, if the version is wrong, replace the corresponding version
npm install [email protected]
Download project source code
Link: https://www.123pan.com/s/bT07Vv-WICcv.html
Unzip it into a folder, preferably in English, and open the vue_shop file
To use node 15.14.0 and npm 7.7.6
-
Install the dependencies required by the project through npm install
-
npm run serve command to start the project
-
After the startup is successful, you can access the project page through the link
-
The front-end configuration is complete, and the server needs to be configured
Two, Wampserver server construction
Download wampserver3.1.7
link: https://www.123pan.com/s/bT07Vv-sICcv.html
Install according to the server construction instructions document (under the mall project file)
Just keep clicking the next step.
It should be noted that
the icon turns green after opening, and all services are started.
It is best to install it on the c drive, otherwise there will be various strange problems
Note: The seventh step path is wamp64
question
wampserver 2/3 servers running issue
-
Right click on My Computer – “Manage –” Services and Applications – “Services
Find these three services, if there is no manual open -
The wampmysqld64 service cannot be started.
The previously installed mysql database has a configured port number of 3306, and the port number of wampserver is also 3306. Therefore, it is possible to connect when connecting to the database, but the wampmysqld64 service cannot be started.Close the mysql service in the service, set the startup mode to manual, free up the port and start the wampmysqld64 service
after success
Access the background through the path: http://tpadmin.test/admin