Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<template lang="jade">
h1 Technologies that I use
.col-md-4(v-for="technology in technologies")
import Cosmic from 'cosmicjs'
export default {
data() {
return {
technologies: []
mounted() {
const params = {
type_slug: 'technologies',
limit: 50,
skip: 0,
sort: 'created_at'
Cosmic.getObjectsByType(cosmicJsConfig, params, (error, response) => {
this.technologies = response.objects.all
<style lang="stylus" scoped>
padding-bottom: 50px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment