Does nodejs conflict with vue?

青灯夜游
Release: 2021-11-05 16:46:04
Original
2144 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!