This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<login-button action="{{ $action or null }}" ></login-button> | |
<register-button action="{{ $action or null }}" ></register-button> | |
<remember-password action="{{ $action or null }}"></remember-password> | |
<reset-password | |
action="{{ $action or null }}" | |
token="{{ $token or null }}" | |
email="{{ $email or null }}"></reset-password> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="{{ app()->getLocale() }}"> | |
<head> | |
<title>{{ config('app.name') }}</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> | |
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons' rel="stylesheet"> | |
<link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet"> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04c170c4be84786b77a51717a7627ad50df3f4f13eff18dbf987783d733c42f64b0a3277cc3abacad19138a18cdc6943267d621941798afd55a8b1298c06170797 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const wait = time => new Promise((resolve) => setTimeout(resolve, time)); | |
wait(3000).then(() => console.log('Hello!')); // 'Hello!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('adminlte::layouts.app') | |
@section('htmlheader_title') | |
#[[$HEADER_TITLE$]]# | |
@endsection | |
@section('main-content') | |
#[[$CONTENT$]]# | |
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
{{#[[$data$]]#}} | |
</div> | |
</template> | |
<style> | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mount } from 'vue-test-utils' | |
import expect from 'expect' | |
import #[[$Component$]]# from '../../resources/assets/js/components/#[[$Component$]]#.vue' | |
describe('#[[$Component$]]#', () => { | |
let component | |
beforeEach(() => { | |
component = mount(#[[$Component$]]#) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<adminlte-vue-box id="default_box_with_custom_box_tools"> | |
<template slot="box-tools"> | |
<button type="button" class="btn btn-box-tool" ><i class="fa fa-cog"></i></button> | |
<button type="button" class="btn btn-box-tool" ><i class="fa fa-user"></i></button> | |
</template> | |
<span slot="title">Custom tool box!</span> | |
Custom tool box | |
</adminlte-vue-box> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box-body"> | |
<slot>Put your content here using default slot</slot> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div v-if="removed" class="box" :class="[{'box-solid' : isSolid}, {'collapsed-box' : isCollapsed }, 'box-' + color]"> | |
<div class="box-header" :class="{'with-border' : borderOnHeader}"> | |
<div class="box-title" v-if="!noTitle"> | |
<slot name="title">Put your title here using slot with name title</slot> | |
</div> | |
<div class="box-tools pull-right" v-if="!noTitle"> | |
<slot name="box-tools"> | |
<button v-if="isCollapsable" type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa" :class="collapseIcon"></i></button> | |
<button v-if="isRemovable" type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button> |