(window.webpackJsonp=window.webpackJsonp||[]).push([[4,3],{315:function(t,e,n){"use strict";n.r(e);var l={name:"Header",props:["page"]},r=n(74),component=Object(r.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("b-navbar",{attrs:{toggleable:"lg",type:"dark",variant:"info"}},[n("b-navbar-brand",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v("FAKE TODO")]),t._v(" "),n("b-navbar-toggle",{attrs:{target:"nav-collapse"}}),t._v(" "),n("b-collapse",{attrs:{id:"nav-collapse","is-nav":""}},[n("b-navbar-nav",[n("b-nav-item",{attrs:{href:"#"}},[t._v("Link")]),t._v(" "),n("b-nav-item",{attrs:{href:"#",disabled:""}},[t._v("Disabled")])],1),t._v(" "),n("b-navbar-nav",{staticClass:"ml-auto"},[n("b-nav-item",{attrs:{href:"#"}},[n("span",{staticClass:"mdi mdi-bookmark-box-multiple"}),t._v(" Add\n ")])],1)],1)],1)],1)}),[],!1,null,"3c3f8bbe",null);e.default=component.exports},334:function(t,e,n){"use strict";n.r(e);var l=n(316),r=n.n(l),o=n(10).default.extend({name:"IndexPage",data:function(){return{page:{title:"Homepage"},todos:[]}},mounted:function(){var t=this;r()({method:"get",url:"http://localhost:8000/api/todos",responseType:"stream"}).then((function(e){t.todos=e.data.data}))},methods:{addItem:function(){}}}),d=n(74),component=Object(d.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Header",{attrs:{page:t.page}}),t._v(" "),n("div",{staticClass:"row d-flex justify-content-center mt-4"},[n("div",{staticClass:"col-md-7"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-header text-uppercase font-weight-bold d-flex justify-content-between"},[n("span",{staticClass:"mt-2"},[t._v("Todo App")]),t._v(" "),n("b-button",{staticClass:"font-weight-bold z-depth-0",attrs:{variant:"primary",size:"sm"},on:{click:t.addItem}},[n("i",{staticClass:"fa fa-plus"}),t._v(" Add\n ")])],1),t._v(" "),n("div",{staticClass:"card-body"},[n("div",{staticClass:"list-group"},t._l(t.todos,(function(e){return n("div",{staticClass:"list-group-item"},[t._v("\n "+t._s(e.title)+"\n ")])})),0)])])])])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Header:n(315).default})}}]);
|