This commit is contained in:
2023-11-14 11:10:49 +10:00
parent 6f53c7ea6f
commit 1d5ee292a9
13 changed files with 112 additions and 1091 deletions

View File

@@ -7,6 +7,7 @@
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"guzzlehttp/guzzle": "^7.2", "guzzlehttp/guzzle": "^7.2",
"itsgoingd/clockwork": "^5.1",
"laravel/framework": "^10.10", "laravel/framework": "^10.10",
"laravel/sanctum": "^3.3", "laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8" "laravel/tinker": "^2.8"

70
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9c491b8531eec05ba41a11d9276a5749", "content-hash": "6a043c02d1f50fbec002eb5c9caa03a2",
"packages": [ "packages": [
{ {
"name": "brick/math", "name": "brick/math",
@@ -970,6 +970,74 @@
], ],
"time": "2023-08-27T10:19:19+00:00" "time": "2023-08-27T10:19:19+00:00"
}, },
{
"name": "itsgoingd/clockwork",
"version": "v5.1.12",
"source": {
"type": "git",
"url": "https://github.com/itsgoingd/clockwork.git",
"reference": "c9dbdbb1f0efd19bb80f1080ef63f1b9b1bc3b1b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/c9dbdbb1f0efd19bb80f1080ef63f1b9b1bc3b1b",
"reference": "c9dbdbb1f0efd19bb80f1080ef63f1b9b1bc3b1b",
"shasum": ""
},
"require": {
"ext-json": "*",
"php": ">=5.6"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Clockwork\\Support\\Laravel\\ClockworkServiceProvider"
],
"aliases": {
"Clockwork": "Clockwork\\Support\\Laravel\\Facade"
}
}
},
"autoload": {
"psr-4": {
"Clockwork\\": "Clockwork/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "itsgoingd",
"email": "itsgoingd@luzer.sk",
"homepage": "https://twitter.com/itsgoingd"
}
],
"description": "php dev tools in your browser",
"homepage": "https://underground.works/clockwork",
"keywords": [
"Devtools",
"debugging",
"laravel",
"logging",
"lumen",
"profiling",
"slim"
],
"support": {
"issues": "https://github.com/itsgoingd/clockwork/issues",
"source": "https://github.com/itsgoingd/clockwork/tree/v5.1.12"
},
"funding": [
{
"url": "https://github.com/itsgoingd",
"type": "github"
}
],
"time": "2022-12-13T00:04:12+00:00"
},
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v10.31.0", "version": "v10.31.0",

1050
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,11 +6,8 @@
"build": "vite build" "build": "vite build"
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.4.16",
"axios": "^1.1.2", "axios": "^1.1.2",
"laravel-vite-plugin": "^0.8.0", "laravel-vite-plugin": "^0.8.0",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"vite": "^4.0.0" "vite": "^4.0.0"
} }
} }

View File

@@ -1,6 +0,0 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}

View File

@@ -1,3 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@@ -0,0 +1,7 @@
@extends('layout')
@section('content')
@include('partials._hero')
<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
@endsection

View File

@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
@vite('resources/css/app.css')
<title>Laravel</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/alpinejs/3.13.2/cdn.js" integrity="sha512-lNq2c0EZyCnieSFk9jEWqD60SbJY/6MWMaJsEHk1Tq3y8N5c9E9PuNlSq1jhf499bTkTslfexdzcz7zSTk9Qzw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
</head>
<body class="antialiased">
@yield('content')
</body>
</html>

View File

@@ -0,0 +1 @@
<section>HERO</section>

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@vite('resources/css/app.css')
<title>Laravel</title>
</head>
<body class="antialiased">
<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
</body>
</html>

View File

@@ -14,5 +14,19 @@ use Illuminate\Support\Facades\Route;
*/ */
Route::get('/', function () { Route::get('/', function () {
return view('welcome'); return view('home');
}); });
/*
Route::get('/', function() {
return view('listings', [
'listings' => Listing:all()
]);
});
Route::get('/listings/{listing}', function(Listing $listing) {
rreturn view('listing', [
'listing' => $listing
]);
});
*/

3
storage/clockwork/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*.json
*.json.gz
index

View File

@@ -1,12 +0,0 @@
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
],
theme: {
extend: {},
},
plugins: [],
}