Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<link href=',400,500,700|Material+Icons' rel="stylesheet">
<link href="" rel="stylesheet">
<script src=""></script>
<script src=""></script>
<script src=""></script>
<div id="app">
<input v-model="myinput">
<v-toolbar dense dark color="blue darken-2">
<v-toolbar-side-icon disabled></v-toolbar-side-icon>
<v-btn icon>
<v-btn icon>
<v-container fluid grid-list-lg>
<v-layout row wrap>
<v-flex xs12 v-for="(item, index) in list" :key="index">
<v-card-text class="grey--text">
<div v-for="item in list2.contributors">
<v-btn @click="loadData()">Load data</v-btn>
const vueapp = new Vue({
el: '#app',
data: {
myinput: "a,b,c",
list2: "Loading ..."
computed: {
list() {
return this.myinput.split(",")
methods: {
async loadData() {
const resp = await axios("http://localhost:5000/package.json")
this.list2 =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.