Online mall foreground development environment configuration

1. Project configuration

node 15.14.0

Official website download
https://nodejs.org/zh-cn/download/releases

Please add a picture descriptioninsert image description here

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
insert image description here
To use node 15.14.0 and npm 7.7.6

  1. Install the dependencies required by the project through npm install

    insert image description here

  2. npm run serve command to start the project
    insert image description here

  3. After the startup is successful, you can access the project page through the link

    insert image description here

  4. The front-end configuration is complete, and the server needs to be configured
    insert image description here

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
insert image description here

Note: The seventh step path is wamp64

insert image description here

question

wampserver 2/3 servers running issue

  1. Right click on My Computer – “Manage –” Services and Applications – “Services

    insert image description here
    Find these three services, if there is no manual open

  2. 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
    insert image description here

after success

Access the background through the path: http://tpadmin.test/admin
insert image description here

Guess you like

Origin blog.csdn.net/qq_52108058/article/details/131091998