Home  >  Article  >  Web Front-end  >  Does nodejs conflict with vue?

Does nodejs conflict with vue?

青灯夜游
青灯夜游Original
2021-11-05 16:46:042204browse

Nodejs does not conflict with vue. Nodejs is required when using vue-cli to build a project. Installing and building the vue project through Npm in node can facilitate modular management; in this way, the entire project can be modularized into components and loaded on demand.

Does nodejs conflict with vue?

The operating environment of this tutorial: windows7 system, nodejs version 12.19.0, DELL G3 computer.

Nodejs does not conflict with vue. Nodejs is required when using vue-cli to build a project.

And it is more convenient to use node. Package and deploy, parse vue single file components, parse each vue module, put them together, etc., start the test server localhost, and help you manage vue-router, vue-resource, etc. plugin. So usually we will use Vue node method, which is convenient and saves trouble.

Install and build the vue project through Npm in node to facilitate modular management. In this way, your entire project can be modularized and loaded on demand.

vue recommended development environment

  • Node.js: javascript running environment (runtime), different systems directly run various programming languages

  • npm: Package manager for Nodejs. Since using npm in China will be very slow, it is recommended to use Taobao NPM mirror (http://npm.taobao.org/)

  • webpack: Its main purpose is to use CommonJS syntax All static resources that need to be published on the browser side need to be prepared accordingly, such as resource merging and packaging.

  • vue-cli: User-generated Vue project template

[Recommended learning: "nodejs tutorial"]

The above is the detailed content of Does nodejs conflict with vue?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn