Current location - Education and Training Encyclopedia - Resume - The difference between nodejs and vuejs
The difference between nodejs and vuejs
1, different service environments

Nodejs is the front-end framework and vuejs is the server language. Nodejs is the js runtime and running environment, similar to the jvm in java. Nodejs, like jvm, is also the running environment of js. No matter what operating system you are, you can use js to develop background programs as long as you install the corresponding version of nodejs.

2. Different functions

Node.js is a JavaScript running environment based on ChromeV8 engine.

Vue.js uses HTML-based template syntax, which allows developers to declaratively bind DOM to the data of the underlying Vue instance. The core of Vue.js is a system that allows you to present data declaratively to DOM using concise template syntax.

3, the use of different data

Node.js uses an event-driven non-blocking I/O model to make it light and efficient. Vue.js has a route named vue-route.js and a data request named vue-resource.js Vue.js, which can be quoted in html. npm introduces convenient package management.

Vue.js is a progressive framework for building data-driven web interfaces. The goal of Vue.js is to realize the data binding and combined view components of the response through the simplest API possible. It is not only easy to use, but also easy to integrate with third-party libraries or existing projects.