javascript - The story between Node, commonJs and vue
滿天的星座
滿天的星座 2017-06-27 09:18:51
0
1
1011

Node front-end server environment
CommonJs js modularity
vue MVVM view model

If you plan to use vue to create a project, you need to use modular js
Do you need to build a Node environment when using commonJs?
Do you need to build a Node environment when using vue?

滿天的星座
滿天的星座

reply all(1)
大家讲道理

Node is an environment where js runs on the server side. It has nothing to do with what modular solution is used. Browser-side js can also use modular solutions.
As for whether you need a Node environment, it depends on how you use vue. You can Vue introduces HTML as a library and executes it on the browser. You can also use the vue family bucket for engineering and then package it. This definitely requires the Node environment.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template