Vue.js Icon

Vue.js

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

Vue.js github.com

Wordle built with Vue, aka VVordle

Rebuilding Wordle is a fun way to show off what your frontend framework is capable of (and how). Evan You has been doing just that for Vue. It’s not a 100% reproduction of the original, but it does have one cool feature the official game does NOT:

You can make your own Wordle and send it to friends by base64-encoding a word and include it as the URL query

Here’s a custom one using an acronym that many devs think about often…

Vue.js primefaces.org

PrimeVue – the ultimate Vue UI component library

Thanks to Lars-Erik Roald for submitting this. Here’s Lars:

It is the most comprehensive suite I have ever seen. Especially the datatable component is really impressive. Personally, I have absolutely no relations with Primetek. I just think it is a pity that PrimeVue goes off the radar.

He also provided this getting started video for you to check out.

Joe Sweeney github.com

Podrain – a web-based podcast app with offline capabilities

Joe Sweeney built Podrain to scratch his own podcast-listening itch. Here’s what he had to say about it in our community chat:

Hi there! Huge fan of Changelog. I actually built a podcast client for the web as a Vue PWA, as a proof-of-concept towards building a web-first future away from app stores. Works fully offline with downloaded audio, as in, works in Airplane mode (but on Android only). Interface is rough but it’s pretty stable and improving over time!

Try Podrain yourself by pointing your favorite web browser right here.

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.

Open Source 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.

  0:00 / 0:00