Add ziggy things

This commit is contained in:
Henry Whitaker
2021-11-15 23:26:58 +00:00
parent 5bdb7490a4
commit e863a53b77
5 changed files with 15 additions and 7 deletions

5
public/js/app.js vendored
View File

@@ -2105,6 +2105,9 @@ __webpack_require__.r(__webpack_exports__);
// //
// //
// //
//
//
//
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({}); /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({});
/***/ }), /***/ }),
@@ -26077,7 +26080,7 @@ var render = function () {
var _vm = this var _vm = this
var _h = _vm.$createElement var _h = _vm.$createElement
var _c = _vm._self._c || _h var _c = _vm._self._c || _h
return _c("div", [_vm._v("Hello")]) return _c("div", [_vm._v("\n Hello\n ")])
} }
var staticRenderFns = [] var staticRenderFns = []
render._withStripped = true render._withStripped = true

View File

@@ -1,4 +1,4 @@
{ {
"/js/app.js": "/js/app.js?id=0759fc386d37a062a2c9", "/js/app.js": "/js/app.js?id=3f160e1be04f20c83775",
"/css/app.css": "/css/app.css?id=56fcadeb3d7b8e0e21d6" "/css/app.css": "/css/app.css?id=56fcadeb3d7b8e0e21d6"
} }

View File

@@ -1,5 +1,8 @@
<template> <template>
<div>Hello</div> <div>
Hello
<!-- <div>{{ relativeDate('2021-10-15 00:00:00') }}</div> -->
</div>
</template> </template>
<script> <script>

8
resources/js/app.js vendored
View File

@@ -14,10 +14,10 @@ Vue.use(InertiaProgress);
createInertiaApp({ createInertiaApp({
resolve: name => require(`./Pages/${name}`), resolve: name => require(`./Pages/${name}`),
setup({ el, App, props }) { setup({ el, App, props }) {
new Vue({ new Vue({
render: h => h(App, props), render: h => h(App, props),
}).$mount(el) }).$mount(el)
}, },
}) });
InertiaProgress.init({ color: "#4B5563" }); InertiaProgress.init({ color: "#4B5563" });

View File

@@ -32,6 +32,8 @@
<!-- Styles --> <!-- Styles -->
<link rel="stylesheet" href="{{ mix('css/app.css') }}"> <link rel="stylesheet" href="{{ mix('css/app.css') }}">
@routes
<script src="{{ mix('js/app.js') }}" defer></script> <script src="{{ mix('js/app.js') }}" defer></script>
</head> </head>
<body class="font-sans antialiased"> <body class="font-sans antialiased">