search

Home  >  Q&A  >  body text

html - 现在的web项目怎么运行?

大家好,我是web前端小白,以前都是html右键浏览的,现在这些web项目(如下图)怎么部署或者是怎么运行的,Github上下了很多Demo都是这样的,想请教各位有没有这方面的教程或者视频或者见解,谢谢各位不吝赐教,谢谢!谢谢!

大家讲道理大家讲道理2867 days ago882

reply all(3)I'll reply

  • 黄舟

    黄舟2017-04-17 14:42:15

    To install node and npm, first npm install performs package management, which will automatically download all dependencies for you, and then run the project through npm start. Please study node and npm for details.

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 14:42:15

    You can refer to the documentation: README.md. There may be running processes in it.
    Some projects downloaded from github.
    It will be easier if you know how to use node.
    Package in these projects. There are many js files in json that projects need to rely on, such as jQuery and so on
    First install node
    After node is installed, configure the environment variables to configure node and npm
    Then use the command in the console to the file directory you downloaded: npm install Download all dependencies
    and then run the file through npm start
    For documentation, refer to Liao Xuefeng JavaScript documentation

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 14:42:15

    Open "README.md" with an editor to view it. Generally, you will be taught how to install and run the project.

    Generally speaking, open cmd in the folder and then run bower install or npm install.

    If you don’t know what bower and npm are, it is recommended that you search online to understand what they are used for.

    To run bower install or npm install, your machine needs to have the corresponding environment, otherwise you will be prompted that the command does not exist.

    After installation, you usually start the program with just one command, and the browser will automatically open.

    reply
    0
  • Cancelreply