vue pinterest

Code from medium article showing how to create a Pinterest style grid in Vue.js

21
2
Vue

Create a Pinterest style grid

This code is for an article I wrote on medium.com on how to create a Pinterest style
grid for images. In that article I walk you through step-by-step on how to create this layout.
The end result is that you create a layout that will look like this:

Pinterest style grid layout

Read the article

If you would like to read the article you can view it on medium.com here

Live Preview

You can view the app live here.

Tech Stack

  • Vue.js
  • JavaScript

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.