
DevRel 🥑 at Storyblok. I am a full stack developer with knowledge and experience in several front-end techs like Angular, React, Vue along with backend techs like Node, Flask, FastAPI, etc.
Search for a command to run...

DevRel 🥑 at Storyblok. I am a full stack developer with knowledge and experience in several front-end techs like Angular, React, Vue along with backend techs like Node, Flask, FastAPI, etc.
Thank you so much!
Every time I decide to be consistent about content creation, I get (or make) opportunities to travel, explore, and network. It could be procrastination or a matter of priorities but if you are a devrel or wanna be a devrel, you already know how much ...

You must have seen the progress of Tesla and SpaceX in the past few years. We all have seen both of the companies going through ups and downs but what I found more interesting is the way Elon Musk decided to be open about both of the products with th...

Well, the purpose of this blog post is to share what I was up to for the past few months but before we dive into that, let me refresh your memory a little. A few months ago, I took it upon myself to use Javascript in every place I could and I am stil...

Tailwind is an amazing CSS framework and is growing at a rapid pace. Here are some UI kits to help you make great designs. 1 - Tail-Kit Contains a lot of ready-to-use components with some templates! It's open-source! Link - Tail-kit 2 - Wicked ...

Recently a lot of people got access to Github Copilot, I was one of those who got it. I was on the waiting list for a very long time, and trust me I was dying to use it after all the good stuff already heard. Github Copilot is an AI pair programmer d...

If you're new to frameworks or haven't used one ever, this should give you a good overview of how frameworks make web dev easier.
Vue is a progressive Javascript Framework and is very easy to learn. You can compare it with Angular or React. We write all the code for a component in a single file like react, without JSX. This makes it cleaner.
A Vue file typically consists of three sections.
Vue uses Declarative Rendering, and you can use interpolations inside your template part.
You can use anything inside the '{{ }}', as far as it resolves to a string, number.
You can even use ternary.
In your template part, you can use a few directives provided by Vue to have conditional rendering, loops, etc. It's as easy as it looks ->
It makes two-way binding very easy, we have a directive named v-model for it. Type in the input and see it change just below it.
You can bind to the attributes of a normal HTML tag, with v-bind or just ':'. Let's see it in action ->
The Style part is similar to what you do in a CSS file. Just a style tag similar to what we see of template and script. And you can write the way you write your CSS inside that.
The script part is where you can play a lot and write your logic.
You can see a function named data in the above screenshots, it is used to store the properties.
There are lifecycle hooks as in any other framework, like created, mounted, etc.
The image below should give you an application of created hook and an overview of how we write hooks. Just like functions.
The other main things you find in the script are:
As the name suggests, you define all your functions in the methods part.
You can call the methods at any place, even in the template.
These are the properties, which are written as functions.
A computed property is cached, which means if the dependencies of the properties don't change, it won't recompute.
An application would be, you wanna recompute the employees.
A watcher is used to perform any operation on the change of a particular property.
The two more important things used with the Vue are:
Vuex and vue-router.
Vuex is the store like we have redux for react's state management and vue-router is the router to help us handle the front-end routing.
Vue has some good frameworks built on it.
Nextjs Developers can see Nuxtjs , which is similar.
Gridsome is Awesome.
There is a very powerful framework Quasar Framework . Has everything you want from UI to plugins to extensions.
This was a quick intro to Vue.
If you have any questions or suggestions, please leave a comment below or feel free to reach out.