Skip to content

Instantly share code, notes, and snippets.

View akmalhazim's full-sized avatar

Akmal Hazim akmalhazim

View GitHub Profile
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap')
axios.defaults.baseURL = '/api/';
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="csrf-token" content="yfOWJ9eOsAI66gRejicp127aw3If9ebVElmSskeM">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>KoryoApps</title>
<template>
<div>
<div class="page">
<div class="page-main">
<div class="my-3 my-md-5">
<div class="container">
<div class="page-header">
<h1 class="page-title">
Kemaskini Maklumat Parent
</h1>
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
\App\Http\Middleware\CheckForMaintenanceMode::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
new Vue({
el: '#app',
data() {
return {
number: 41,
numberInArray: []
}
},
methods: {
addNumberToArray() {
<template>
<!-- body -->
<div class="my-3 my-md-5">
<div class="container">
<div class="page-header">
<h1 class="page-title">
Pilih Item Untuk Bayar
</h1>
</div>
<template>
<!-- body -->
<div class="my-3 my-md-5">
<div class="container">
<div class="page-header">
<h1 class="page-title">
Pilih Item Untuk Bayar
</h1>
</div>