Skip to content

Instantly share code, notes, and snippets.

View murilolopes's full-sized avatar

Murilo Angelo murilolopes

  • Maceió, Alagoas
View GitHub Profile
import Vue from 'vue'
import App from './App.vue'
import { flatten } from 'lodash/flatten'
Vue.config.productionTip = false
new Vue({
render: h => h(App),
}).$mount('#app')
import Vue from 'vue'
import App from './App.vue'
import _ from 'lodash'
Vue.config.productionTip = false
new Vue({
render: h => h(App),
}).$mount('#app')
@murilolopes
murilolopes / RestControllerTrait.php
Created September 2, 2016 01:25 — forked from beanmoss/RestControllerTrait.php
Playing with Laravel Lumen: simple RESTful trait.
<?php namespace App\Http\Controllers;
use Illuminate\Http\Request;
trait RestControllerTrait
{
public function index()
{
$m = self::MODEL;
return $this->listResponse($m::all());
<div class="ibox float-e-margins col-md-9">
<div class="ibox-content">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>-</th>
<th>Referência</th>
<th>Valor</th>
<th>Data de Vencimento</th>