Build an Infinite Scroll component using Intersection Observer API

Written by Alex Jover Morales

When building applications you often come across the case where you need to design a list or search interface for the user. They usually manage lots of data, thus you need a way for the user to show it "in chunks" so that we keep the application performance and the data organized.

Read more "Build an Infinite Scroll component using Intersection Observer API"

Globally Load SASS into your Vue.js Applications

Written by Alex Jover Morales

In the CSS world, we can see plenty of great preprocessors that improve the language, being SASS/SCSS, LESS and PostCSS the most common among them. SASS seems to be still the most popular and used solution by the date of writing, and that's no surprise since it's fully featured and extends the CSS language with an easy to understand syntax.

Read more "Globally Load SASS into your Vue.js Applications"

Make the Router a Vue.js Plugin

Part 4 of 4 in our Creating Your Own Router series.
Written by Alex Jover Morales

So far we’ve build the router in a component and a history module within the source code of our app. The problem of it is that the router is tied to the app, specially because the routes are defined within the AppRouter component.

That could be improved by moving out the routes from the component and passing them as a parameter. But still, the developer must import the AppRouter component and the history.js module and use it around.

Read more "Make the Router a Vue.js Plugin"