Develop a project using the introduction of vue.js

everyone knows that vue is a relatively popular framework recently, and it is indeed an excellent front-end framework, but when we see that many open source projects use vue family buckets and webpack four-piece sets, the cost of learning is a little high, and for small projects, it is a bit wasteful to use such a large framework and development suite.
so, I would like to ask the gods, is there anyone using the introduction of vue.js to develop too small multi-page projects? it would be better if they could provide some relatively new open source project resources. Thank you very much.
secondly, what are the disadvantages of development ? Because after using vue.js, basically instead of jquery.js, then the problem is, jquery such a long dominant time has accumulated a lot of Baidu ready-to-use plug-ins, such as swiper, superslide, layer, picker, scroll, turntable, tree, la and other plug-ins readily available, after using vue.js, you are likely to have to build your own handwritten plug-ins wheels, how to solve this contradiction?


look how small your project is. The official documentation of Vue is already very detailed. The cost of learning is not very high. Developing a project does not require you to learn much about webpack.
the use of webpack, hot updates, code reviews, etc., obviously greatly improves the efficiency of development.
in addition: Vue ecology has been very prosperous at present.
there are basically corresponding versions of swiper and so on that you mentioned.
besides, jquery and its corresponding plug-ins can also be used in Vue. Although not recommended.
Vue also has many component libraries, including mobile, PC, such as element-ui, iview,ant-design-vue, etc., which have basic common components for implementation, such as the one you mentioned.
in short, the data-driven idea of Vue brings a lot of convenience.


where does vue-cli 3 get the learning cost?

A direct sentence

vue ui

build projects, install plug-ins, install dependencies, hot update development, and packaging under the graphical interface. Webpack is configured to be used right out of the box.


< H2 > about Jquery and Vue < / H2 >

ide/index.html-sharp%E8%B5%B7%E6%AD%A5" rel=" nofollow noreferrer "> Vue start

this article is learned using Vue as the code within the Script tag of a Html .

We can introduce multiple js in Html, so Vue.js and Jquery can also use CDN to introduce No problem

< H2 > about drawbacks < / H2 >

Vue is progressive, so we can use Vue as an auxiliary JS block

.

but one thing to note is

Vue ecology itself is to achieve single page & modular Web development

Local use of Vue will cause us to have multiple instances of Vue (it will be difficult to create a single page), and the code will be maintained in Script, and it will be difficult to modularize the project without using Webpack.

< H2 > so what can we get? < / H2 >

using Vue (CDN to introduce) We can:

  1. data driven
  2. MVVM
  3. certain componentization ability
  4. more convenient rendering page elements (such as which elements are rendered and hidden based on permissions)

.

it is important to note that these advantages are only valid within "Vue instances"

above is my personal understanding, there may be mistakes, but I hope it can help you


there is such a project, https://github.com/tower1229/.

.

when I first learned Vue, I had the same idea as you, so I developed a single-page application using vue.js manually without CLI tools, and realized single-file component development by using seajs in disguise.

disadvantages:

  1. because the development code is not packaged and built, the development code runs directly in the browser, so the loaded files are relatively fragmented, and the number of requests is relatively large, but it has little impact on small projects
  2. it is true that no hot updates are slightly slower than the way CLI tools develop servers

to tell you the truth, I also directly introduced vue to do the company's small projects before, just like jq, and the plug-in ecology is also good, basically all can be found, but it is really not as convenient as the whole family bucket, ah, the whole family bucket you just use, if you don't go deep into it, it is still easy to operate, so it is recommended to use the whole family bucket!


for front-end projects, do you think packaging tools or frameworks can be saved?
vue is a progressive front-end framework.
you may not understand what progressive is.


vue I don't think the cost of learning is high, not to mention that there is such a thing as vue ui , which is very fast to configure. In addition, do not use jQ to set up vue, since it is MVVM and engineering, you have to go to to learn something different, right? If you try to call it in the same way as jq, you may end up stepping on more holes than the regular way of playing.

in a word, the easier it is for you now, the harder it will be for you to go deep into it.


will it be bad for the later SEO if I introduce vue.js to develop a large mall project?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4651d-66546.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4651d-66546.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?