background preloader

Vue.js

Facebook Twitter

Learn Vue 2: Step By Step. What is the best vue html-way to fetch data from external servers? Create an App in VueJS 2. TL;DR VueJS has a new version coming out.

Create an App in VueJS 2

Check out all the changes here. There is a working example of an application built using this new version here. Server-side rendering and Redux: from React to Inferno. React has been a major actor in the new Javascript trending.

Server-side rendering and Redux: from React to Inferno

Its open-source component-based environment made web development far easier and pleasuring. With its concept, we are able to create powerful web apps running on the old buddy JS. However, it came with some downsides, and one of them relates to the size of the applications (the library itself weighs 45 kb). A new trending of developing new lightweight libraries has come, and with them Inferno: And what’s cool: Inferno is React-like. Getting Started With Vue.js. 5th December, 2016: This tutorial covers Vue.js 1.x.

Getting Started With Vue.js

If you’re looking for Vue 2 content, see here: Getting up and Running with the Vue.js 2.0 Framework. 21st July, 2016: Article has been updated to cover Vue.js 1.0.x, and a section on components added. Vue.js is a JavaScript library that helps you build web applications using the the MVVM (Model-View-ViewModel) architectural pattern. At first glance, it might seem quite similar to AngularJS, but once you start working with it you’ll quickly realize that Vue.js is not only much simpler and easier to learn, but also more flexible.

In this introductory tutorial, I’ll teach you the basic concepts of Vue.js, and give a complete overview of its most important features. Intro to Vue.js: Rendering, Directives, and Events. If I was going to sum up my experiences with Vue in a sentence, I'd probably say something like "it's just so reasonable" or "It gives me the tools I want when I want them, and never gets in my way".

Intro to Vue.js: Rendering, Directives, and Events

Again and again, when learning Vue, I smiled to myself. It just made sense, elegantly. This is my own introductory take on Vue. It's the article I wish I had when I was first learning Vue. If you'd like a more non-partisan approach, please visit Vue's very well thought out and easy to follow Guide. Working with Methods in Vue.js. In previous videos, we have seen how we can output data with string interpolation.

Working with Methods in Vue.js

But what if we need to output data based on certain rules or logic? In that case, it might be handy to have a function in which we can embed JavaScript logic. Or perhaps we want to fetch data from a remote service or something like that. For this purpose, it’s time to introduce a new property to our Vue instance; the methods property. This property should contain an object where the key is the name of a function, and the value is the function itself. Learn Vue 2: Step By Step. Introduction to CSS Animations (With a Sprinkle of Vue.js) Introduction Since launching and running the Daily CSS Images challenge, I’ve noticed that a lot of people have had a lot of fun by adding CSS animations to their images, which has been super cool to witness!

Introduction to CSS Animations (With a Sprinkle of Vue.js)

However, I am sure there are many other participants who see these animations and are wondering, “That looks cool…how do I do that?” In fact, it wasn’t too long ago that I was in the same situation. Getting Started With Vue.js. React’s JSX vs Vue’s templates: a showdown on the front end. React.js and Vue.js are two of the most popular JavaScript libraries on the planet.

React’s JSX vs Vue’s templates: a showdown on the front end

They are both powerful and are relatively easy to pick up and run with. Both React and Vue: React or Vue: Which Javascript UI Library Should You Be Using? In 2016 React cemented its position as king of the Javascript web frameworks.

React or Vue: Which Javascript UI Library Should You Be Using?

This year saw rapid growth of both its web and native mobile libraries, and a comfortable lead over main rival Angular. But 2016 has been an equally impressive year for Vue. The release of its version 2 made a huge impression on the Javascript community, attested to by the 25,000 extra Github stars it gained this year. The scope of both React and Vue is undeniably similar: both are lightweight component-based libraries for building user interfaces that focus on the view layer only.

Both can be used in a simple project, or be scaled up to a sophisticated app using cutting edge tooling. Load Boostrap 4 alpha into Vue.js project – NamekDev. Once upon a time one usually desires to add Bootstrap into one’s project.

Load Boostrap 4 alpha into Vue.js project – NamekDev

Adding support for Bootstrap might seem a little hard without understanding Webpack or even despite the understanding. I started working with Vue.js (by the way, it’s great!) Using the official webpack template and indeed – I struggled for a few hours. Thus, I describe foreseen steps for the weary travelers who want Bootstrap-ify their Vue.js project. VueBoot. VueBoot is a project designed to ease the use of Bootstrap in VueJS applications.

VueBoot

It takes the approach that the Bootstrap team has done a lot of hard work, and reproducing that work is beyond this project's scope. Because of that, we choose to use the official Bootstrap javascript, and simply wrap the API in a thin VueJS wrapper. VueBoot has the following dependencies: VueJS (requires v1.0+, tested with v1.0.21). GitHub - GuillaumeLeclerc/vue-google-maps: Google maps component for vue with 2-way data binding. Vue.js Project Setup - Vue.js 2.0 Fundamentals (Part 2)

Learning the Basics.