Vue.js Icon

Vue.js

Vue.js is a JavaScript framework for building interactive web applications.
31 Stories
All Topics

Evan You Increment

Making Vue 3

Evan You writes up lessons learned from rewriting the next major version of Vue.js.

Two key considerations led us to the new major version (and rewrite) of Vue: First, the general availability of new JavaScript language features in mainstream browsers. Second, design and architectural issues in the current codebase that had been exposed over time.

I found the section on overcoming the bottleneck of the Virtual DOM (and decreasing CPU time by up to 90%) fascinating. ASTs FTW once again!

Lj Miranda ljvmiranda921.github.io

Generate 8-bit avatars using Conway's Game of Life

Lj Miranda:

I made a website that generates cute 8-bit avatars using Conway’s Game of Life. Simply type in your name, and it will create a unique sprite just for you! Try out the changelog, jerod santo, or adam stacoviak!

Conway’s Game of Life is something that we consider as a Cellular Automaton. It was a mathematical model created by the mathematician John Conway, who, unfortunately, passed away a few weeks ago due to the coronavirus. I highly encourage you to know more about Conway, he’s such an interesting and unique individual!

Built with Vue and Python. Source code here.

Rails matestack.org

Rapidly create interactive UIs in pure Ruby

I like the why behind Matestack:

Implementing two separate systems (backend-api, frontend-app) is a pain: Two different code bases, two repositories to maintain, two different deployment schedules, two test environments, two everything… Being a small dev team, we decided not to adopt this modern web development complexity and decided to create… Matestack!

If you have 30 minutes and want an easy button to learn all about it, Jonas Jabari gave a talk on it at Ruby Unconf 2019.

Yaser Adel Mehraban yashints.dev

A comprehensive intro to Vue.js

From Yaser Adel Mehraban on getting started with Vue.js.

Vue.js is an approachable, versatile, performant, and progressive framework to build user interfaces with. This core library is focused on building the view layer only. It uses the goodies of Angular (such as template syntax) and React (such as Virtual DOM) and adds a few more enhancements on top.

… Another bonus point of it is that migrating to it is really easy. You just need to add a script tag to your page and you’re good to go.

Vue.js n8n.io

An "open source" alternative to Zapier

n8n (a numeronym for “nodemation”) is a node-based workflow automation tool. The reason for the square quotes around “open source” is because it has a Commons Clause attached to its Apache 2.0 license, which means you can do anything you want with the source code except make money with it. Since n8n itself is built on open source tech such as TypeScript and Vue.js, this is a nice touch by the author in the FAQ:

As n8n itself depends on and uses a lot of other Open Source projects it is only fair and in our interest to also help them. So it is planed to contribute a certain percentage of revenue/profit every month to these projects. How much exactly is not decided yet.

An "open source" alternative to Zapier

JSON json.pizza

Here, try some JSON.pizza (yes you read that correctly) 🍕

{
  "How to use": "Paste your JSON here and press Ctrl+Enter to format!",
  "Help": "Check the console for errors if it fails to parse.",
  "Themes": "Toggle dark/light theme with Ctrl+B",
  "Share": "Print a shareable URL to the console with Ctrl+L",
  "Source": "View the source on GitHub at https://github.com/kritzware/json",
  "Info": "Press Ctrl+I at anytime for a reminder of these instructions"
}

Built with Nuxt.js.

Peter Lu github.com

XSM – an "extraordinarily simple" state management solution

[XSM] consists of a global store and the machinary to re-render the component when the state is updated. The store is just a JavaScript object with key and value pairs. By binding the instance reference, this, to the store, each component can react to the changes of the store whether it is re-render or unmount. It is really this simple, no need to use HOC, provider, reducer, decorator, observer, action, dispatcher, etc. Hence, all the three most popular framewokrs work the same way in XSM and that’s why we can keep the code size very small and support the three frameworks without framework specific modules.

Works out of the box with Angular, React, and Vue.

Smashing Magazine Icon Smashing Magazine

Vue.js and SEO: how to optimize reactive websites for search engines and bots

Real life data on how Google indexes javascript-rendered websites today. This has been a controversial subject, and this article by no means settles it entirely, but provides some strong data for what types of dynamic content are well indexable and which are not.

Though to be honest, I think the most important conclusion the author makes might be this one:

If you need your site to perform on search engines other than Google, you will definitely need pre-rendering of some sort.

Vue.js github.com

A renderless (?) and extendable rich text editor for Vue.js

Hot on the heels of Rails’ announced rich text editor comes tiptap for Vue, which is built with Prosemirror. But what does “renderless” even mean?

With renderless components you’ll have (almost) full control over markup and styling. I don’t want to tell you what a menu should look like or where it should be rendered in the DOM. That’s all up to you. There is also a good article about renderless components by Adam Wathan.

That’s a great idea as long as you provide some default/swappable rendering for folks who just want to get started quickly. Full demo of tiptap in action right here.

Evan You Medium

Vue CLI 3.0 is here!

Good news — the next generation of Vue CLI, the standard build toolchain for Vue applications, is here. Evan You writes:

Vue CLI 3 is a completely different beast from its previous version. The goal of the rewrite is two-fold:

  1. Reduce configuration fatigue of modern frontend tooling, especially when mixing multiple tools together;
  2. Incorporate best practices in the toolchain as much as possible so it becomes the default for any Vue app.

This means that any Vue CLI 3 project comes with out-of-the-box support most of today’s preferred ways to build and ship applications.

Ives van Hoorne Medium

CodeSandbox launched their dashboard and teams feature

I’ve been closely watching CodeSandbox and have been thoroughly impressed with the work Ives van Hoorne and the 75+ contributors have put into this online code editor for … React, Preact, Vue, and more.

I’ve been thinking about getting Ives on Founders Talk to talk about the business model behind CodeSandbox. It seems to have this interesting self baked, pay what you want, Patron model to cover the expenses of CodeSandbox. Most of the features are free with limits, and being a “Patron” lifts those limits + extra features, and supports the costs and development efforts.

CodeSandbox launched their dashboard and teams feature

Flavio Copes vuehandbook.com

The Vue Handbook

A free ebook by Flavio Copes. Here’s the skinny:

After spending a lot of time diving into Vue, in preparation for a Vue online course I’m building, I created this free resource that contains a lot of material to help anyone go from zero Vue knowledge to having a pretty good overview of this popular JavaScript frontend framework.

The book’s content is behind a newsletter signup. That’s the price of free, I guess. 🤷‍♂️

0:00 / 0:00