Compare commits
6 Commits
4f6935a8a3
...
3b6285a359
Author | SHA1 | Date | |
---|---|---|---|
3b6285a359 | |||
66f8bde4a5 | |||
3adc226ad5 | |||
dcc1318a84 | |||
7cbc4e1ef3 | |||
2f396e54ac |
@ -5,6 +5,7 @@
|
||||
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
|
||||
"control_character_style": "names",
|
||||
"copy_with_empty_selection": false,
|
||||
"default_line_ending": "unix",
|
||||
"fallback_encoding": "UTF-8",
|
||||
"folder_exclude_patterns":
|
||||
[
|
||||
@ -24,13 +25,16 @@
|
||||
[
|
||||
"dlig"
|
||||
],
|
||||
"font_size": 9,
|
||||
"git_diff_target": "head",
|
||||
"hardware_acceleration": "opengl",
|
||||
"highlight_modified_tabs": true,
|
||||
"ignored_packages":
|
||||
[
|
||||
"Vintage",
|
||||
],
|
||||
"line_padding_bottom": 2,
|
||||
"index_workers": 4,
|
||||
"line_padding_bottom": 3,
|
||||
"line_padding_top": 2,
|
||||
"material_theme_accent_cyan": true,
|
||||
"material_theme_bold_tab": true,
|
||||
@ -40,5 +44,4 @@
|
||||
"show_line_endings": true,
|
||||
"theme": "Material-Theme.sublime-theme",
|
||||
"translate_tabs_to_spaces": true,
|
||||
"font_size": 9,
|
||||
}
|
||||
|
@ -5,7 +5,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<!-- Set the base URL for all relative URLs within the document -->
|
||||
<base href="{{ url('/') }}">
|
||||
|
||||
<meta name="robots" content="index,follow">
|
||||
<meta name="googlebot" content="index,follow">
|
||||
@ -19,14 +21,15 @@
|
||||
<meta name="rating" content="General">
|
||||
|
||||
<meta name="url" content="{{ url('/') }}">
|
||||
<meta name="subject" content="{{$pageSubject ?? "your website's subject" }}"">
|
||||
<meta name="description" content="{{ $pageDescription ?? 'A description of the page' }}">
|
||||
<meta name="subject" content="{{ \$pageSubject ?? "your website's subject" }}"">
|
||||
<meta name="description" content="{{ \$pageDescription ?? 'A description of the page' }}">
|
||||
|
||||
<title>{{ config('app.name', 'Laravel') }}</title>
|
||||
<meta name="application-name" content="Application Name">
|
||||
<meta name="application-name" content="{{ config('app.name', 'Laravel') }}">
|
||||
|
||||
<!-- Privacy -->
|
||||
<meta name="twitter:dnt" content="on">
|
||||
<meta name="pinterest" content="nopin" description="No pinning allowed.">
|
||||
|
||||
<!-- analytics -->
|
||||
<!-- -->
|
||||
@ -48,23 +51,25 @@
|
||||
<link href="{{ url('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ mix('css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
|
||||
<link href="{{ mix('/css/app.css') }}" rel="stylesheet" media="all" integrity="{{ env('INTEGRITY_HASH_APP_CSS') }}">
|
||||
@yield('css')
|
||||
|
||||
<!-- Scripts -->
|
||||
<script>
|
||||
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.remove('light')
|
||||
document.documentElement.classList.add('dark')
|
||||
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
||||
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
|
||||
} else {
|
||||
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
|
||||
}
|
||||
</script>
|
||||
|
||||
@routes
|
||||
<script src="{{ mix('js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
|
||||
<script src="{{ mix('/js/app.js') }}" integrity="{{ env('INTEGRITY_HASH_APP_JS') }}" defer></script>
|
||||
@inertiaHead
|
||||
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
|
||||
@inertia
|
||||
|
||||
</body>
|
||||
|
@ -8,24 +8,26 @@
|
||||
docker-compose.override.yml
|
||||
Homestead.json
|
||||
Homestead.yaml
|
||||
auth.json
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
/storage/*.key
|
||||
|
||||
# Directories
|
||||
/node_modules
|
||||
/public/build
|
||||
/public/hot
|
||||
/public/storage
|
||||
/vendor
|
||||
|
||||
### Editor Specific
|
||||
# Files
|
||||
${1:*}.sublime-project
|
||||
${1:*}.sublime-workspace
|
||||
/*.sublime-project
|
||||
/*.sublime-workspace
|
||||
|
||||
# Directories
|
||||
.idea
|
||||
.vscode
|
||||
/.idea
|
||||
/.vscode
|
||||
|
||||
### System Specific
|
||||
# Files
|
||||
|
@ -6,6 +6,9 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Set the base URL for all relative URLs within the document -->
|
||||
<base href="https://example.com/">
|
||||
|
||||
<meta name="robots" content="index,follow">
|
||||
<meta name="googlebot" content="index,follow">
|
||||
|
||||
@ -25,6 +28,7 @@
|
||||
|
||||
<!-- Privacy -->
|
||||
<meta name="twitter:dnt" content="on">
|
||||
<meta name="pinterest" content="nopin" description="No pinning allowed.">
|
||||
|
||||
<!-- analytics -->
|
||||
<!-- -->
|
||||
@ -62,14 +66,21 @@
|
||||
<link href="https://example.com/css/print.css" rel="stylesheet" media="print">
|
||||
|
||||
<!-- JS that must be executed before the document is loaded -->
|
||||
<script>
|
||||
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
||||
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
|
||||
} else {
|
||||
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
|
||||
}
|
||||
</script>
|
||||
<script src="https://example.com/js/vendor/axios.min.js" defer></script>
|
||||
<script src="https://example.com/js/vendor/vue.min.js" defer></script>
|
||||
<script src="https://example.com/js/app.js" defer></script>
|
||||
<!-- -->
|
||||
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div id="app" class="min-h-screen bg-neutral-100">
|
||||
<!-- -->
|
||||
<!-- content here -->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -180,9 +180,16 @@ protected function attrName(): Attribute
|
||||
|
|
||||
*/
|
||||
|
||||
/**
|
||||
* Something relationship.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function something(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(
|
||||
return \$this->belongsTo(
|
||||
related: Something::class,
|
||||
foreignKey: 'something_id',
|
||||
);
|
||||
|
@ -1,34 +1,56 @@
|
||||
<snippet>
|
||||
<content><![CDATA[
|
||||
<script setup>
|
||||
import { useAttrs, reactive, ref, computed, watch, onBeforeMount, onMounted, provide, inject } from 'vue'
|
||||
import { useForm, usePage } from '@inertiajs/inertia-vue3'
|
||||
import { useAttrs, useSlots, reactive, ref, computed, watch, onBeforeMount, onMounted, onBeforeUpdate, onBeforeUnmount, onUnmounted, provide, inject } from 'vue'
|
||||
import { Head, Link, useForm, usePage } from '@inertiajs/inertia-vue3'
|
||||
import AppLayout from '@/Layouts/AppLayout.vue'
|
||||
|
||||
const emit = defineEmits([])
|
||||
|
||||
const attrs = useAttrs()
|
||||
|
||||
const slots = useSlots()
|
||||
|
||||
const props = defineProps({})
|
||||
|
||||
// variables
|
||||
|
||||
// computed properties
|
||||
|
||||
// watchers
|
||||
|
||||
// lifecycle hooks
|
||||
onBeforeMount(() => {
|
||||
//
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
//
|
||||
})
|
||||
|
||||
onBeforeUpdate(() => {
|
||||
//
|
||||
})
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
//
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
//
|
||||
})
|
||||
// methods
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<app-layout title="${1:TITLE}">
|
||||
<AppLayout title="${1:TITLE}">
|
||||
<template #header>${1:TITLE}</template>
|
||||
|
||||
<div class="col-span-6">
|
||||
<!-- content goes here -->
|
||||
</div>
|
||||
</app-layout>
|
||||
</AppLayout>
|
||||
</template>
|
||||
|
||||
]]></content>
|
||||
|
Loading…
x
Reference in New Issue
Block a user