DEV Community

Amy Liu
Amy Liu

Posted on

What are some reasons to choose Vue.js for new projects?

Debating which framework to choose and wondering whether it's still a powerful option?

Top comments (6)

Collapse
 
vincentdorian profile image
Vincent

Vue is quite straightforward and easy to learn for people new to the space. But it also really depends what you want to build and what the alternatives are.

Collapse
 
amyliumaiyi profile image
Amy Liu

Does it work on mobile?

Collapse
 
vincentdorian profile image
Vincent

Like in browser or native?
You could build a PWA with Nuxt or also go native by using Iionic for example.

Collapse
 
tresorama profile image
Jacopo Marrone @tresorama

You should focus on the product you are building and you expertise with frameworks.
React, Vue, Svelte solve the same problem. But your app is more then this usually.

Do you want to use Tailwind CSS, or Material UI, or Mantine, or Chakra , or a Framework specific UI Kit ? This has to be considered.
You app has charts ? Do same consideration on charts libs.
And so on...

The goal is the product your user will use, and which is the easiest path for you.


If you feel comfortable in multiple framework, and libs are equivalents for your product, then choose which you like more.

In educational side projects i usually make a collage of libs i never used before.


Collapse
 
amyliumaiyi profile image
Amy Liu

This is great advice thanks. What about using for a large project at work? How would one decide between Vue and React?

Collapse
 
tresorama profile image
Jacopo Marrone @tresorama

If for you "large" means with many features you should always go with frameworks and libraries that will cover most of the job that need to be done.
Other aspects to consider is to go for libraries that you know well and that can be customized if you want.
An example is whit "UI Kit / Component Library":

  • UI Kits / Component Libraries have a lot of components ready to use, but some has a DatePicker and other don't, some has Calendar component and other don't. Does your app need them? So in this case the UI Kit can "lead" the decision of the frontend framework (react vs vue)
  • UI Kits / Component Libraries are ready to use, but often you want to customize globally how components look. How easy is this with this lib? And with this other one? For example, I don't like how MaterialUI for React lets you customize, I prefer how Chakra UI does.

Or form.
Forms are everywhere, and building them sucks.
You must use a library that helps you with form state, accessibility, UX and performance.
Which form does this app need? A two-field simple form? A multi-step form with a lot of inputs? Array fields are needed?

The consumer of the app doesn't care which framework/tools you used.
But he/she cares about how it will behave (UX)and look.
Your goal is the product, and your sanity while working on it.

Frontend framework should come naturally after research...