Compare commits
5 Commits
1d50c81dc7
...
54bbaf1918
Author | SHA1 | Date | |
---|---|---|---|
54bbaf1918 | |||
3b61555dad | |||
fd1991e5a3 | |||
07cf7c8b4a | |||
89fd4b6ea3 |
@ -44,5 +44,5 @@
|
||||
/*"font_size": 9,*/
|
||||
/*"font_size": 9,*/
|
||||
/*"font_size": 12,*/
|
||||
"font_size": 10,
|
||||
/*"font_size": 11,*/
|
||||
}
|
||||
|
@ -37,9 +37,9 @@
|
||||
<link href="#" rel="alternate" hreflang="de">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link href="/favicon.ico" rel="icon" sizes="16x16" type="image/icon">
|
||||
<link href="/favicon.svg" rel="icon" type="image/svg+xml">
|
||||
<link href="/favicon.png" rel="icon" sizes="192x192">
|
||||
<link href="{{ url('/favicon.ico') }}" rel="icon" sizes="16x16" type="image/icon">
|
||||
<link href="{{ url('/favicon.svg') }}" rel="icon" type="image/svg+xml">
|
||||
<link href="{{ url('/favicon.png') }}" rel="icon" sizes="192x192">
|
||||
|
||||
<!-- Font preloads (should be done for each font file) -->
|
||||
<link href="{{ asset('fonts/fontfam/font.woff2') }}" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
@ -54,7 +54,7 @@
|
||||
|
||||
</head>
|
||||
<body class="font-sans antialiased">
|
||||
<div id="app" class="min-h-screen bg-gray-100">
|
||||
<div id="app" class="min-h-screen bg-slate-50">
|
||||
@yield('body')
|
||||
|
||||
</div>
|
||||
|
@ -39,39 +39,36 @@
|
||||
<link href="https://example.com/2003/05/" title="May 2003" rel="archives">
|
||||
|
||||
<!-- Android web manifest file -->
|
||||
<link href="/.webmanifest" rel="manifest">
|
||||
<link href="https://example.com/.webmanifest" rel="manifest">
|
||||
|
||||
<!-- Files listing who was involved in this site and copyrights -->
|
||||
<link href="https://example.com/humans.txt" rel="author">
|
||||
<link href="https://example.com/copyright.html" rel="copyright">
|
||||
|
||||
<!-- Feeds -->
|
||||
<link href="https://feeds.feedburner.com/example" type="application/rss+xml" title="RSS" rel="alternate">
|
||||
<link href="https://example.com/rss.xml" type="application/rss+xml" title="RSS" rel="alternate">
|
||||
<link href="https://example.com/feed.atom" type="application/atom+xml" title="Atom 0.3" rel="alternate">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link href="/favicon.ico" rel="icon" sizes="16x16" type="image/icon">
|
||||
<link href="/favicon.svg" rel="icon" type="image/svg+xml">
|
||||
<link href="/favicon.png" rel="icon" sizes="192x192">
|
||||
<link href="https://example.com/favicon.ico" rel="icon" sizes="16x16" type="image/icon">
|
||||
<link href="https://example.com/favicon.svg" rel="icon" type="image/svg+xml">
|
||||
<link href="https://example.com/favicon.png" rel="icon" sizes="192x192">
|
||||
|
||||
<!-- Font preloads (should be done for each font file) -->
|
||||
<link href="https://example.com/fonts/fontfam/font.woff2" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
<link href="https://example.com/fonts/fontfam/font.woff" rel="preload" as="font" type="font/woff" crossorigin="anonymous">
|
||||
|
||||
<!-- CSS -->
|
||||
<link href="https://example.com/css/app.css" rel="stylesheet" media="screen">
|
||||
<link href="https://example.com/css/print.css" rel="stylesheet" media="print">
|
||||
|
||||
<!-- JS that must be executed before the document is loaded -->
|
||||
<!-- -->
|
||||
|
||||
<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-gray-100">
|
||||
<div id="app" class="min-h-screen bg-slate-50">
|
||||
<!-- -->
|
||||
</div>
|
||||
</body>
|
||||
|
@ -2,6 +2,7 @@
|
||||
<content><![CDATA[
|
||||
use App\Models\Traits\HasUidTrait;
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Casts\Attribute;
|
||||
use Illuminate\Database\Eloquent\Prunable;
|
||||
|
||||
use HasUidTrait;
|
||||
@ -84,7 +85,19 @@ protected function pruning(): void
|
||||
|
|
||||
*/
|
||||
|
||||
//
|
||||
/**
|
||||
* An accessor.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Casts\Attribute
|
||||
*/
|
||||
protected function attrName(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn ($value, $attributes) => $attributes['foo'],
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -11,8 +11,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted } from 'vue'
|
||||
import AppLayout from '@/Layouts/AppLayout.vue'
|
||||
import { defineComponent, reactive, ref, computed, watch, onBeforeMount, onMounted, provide, inject } from "vue"
|
||||
import AppLayout from "@/Layouts/AppLayout.vue"
|
||||
|
||||
export default defineComponent({
|
||||
emits: [],
|
||||
@ -23,17 +23,20 @@ export default defineComponent({
|
||||
AppLayout,
|
||||
},
|
||||
|
||||
setup(props, {context, emit}) {
|
||||
let aVariable = reactive({})
|
||||
setup(props, { attrs, slots, emit, expose }) {
|
||||
let aVariable = ref({})
|
||||
|
||||
// computed properties
|
||||
let compVariable = computed(() => {
|
||||
//return 'foo'
|
||||
//return "foo"
|
||||
})
|
||||
|
||||
watch(variable, (newValue, oldValue) => {
|
||||
// watchers
|
||||
watch(aVariable, (newValue, oldValue) => {
|
||||
//
|
||||
})
|
||||
|
||||
// lifecycle hooks
|
||||
onBeforeMount(() => {
|
||||
//
|
||||
})
|
||||
@ -42,6 +45,7 @@ export default defineComponent({
|
||||
//
|
||||
})
|
||||
|
||||
// methods
|
||||
function myMethod() {
|
||||
aVariable.value = null
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user