Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions public/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

/*!
* pinia v2.2.2
* (c) 2024 Eduardo San Martin Morote
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/

Expand All @@ -27,7 +27,13 @@
*/

/**
* @vue/shared v3.4.38
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/

/**
* @vue/shared v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/app.js": "/app.js?id=c5e0f20ee42d437f446958f2c1001581",
"/app.css": "/app.css?id=5593a0331dd40729ff41e32a6035d872",
"/app.js": "/app.js?id=bcb7ca42e27a8f0f4314843c8553421d",
"/app.css": "/app.css?id=6d20deb66670f626e0045f9019f31475",
"/img/log-viewer-128.png": "/img/log-viewer-128.png?id=d576c6d2e16074d3f064e60fe4f35166",
"/img/log-viewer-32.png": "/img/log-viewer-32.png?id=f8ec67d10f996aa8baf00df3b61eea6d",
"/img/log-viewer-64.png": "/img/log-viewer-64.png?id=8902d596fc883ca9eb8105bb683568c6"
Expand Down
9 changes: 9 additions & 0 deletions resources/js/Root.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<template>
<router-view />
</template>

<script>
export default {
name: 'Root',
};
</script>
5 changes: 2 additions & 3 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { createPinia } from 'pinia';
import axios from 'axios';
import { createRouter, createWebHistory } from 'vue-router';
import Home from './pages/Home.vue';
import Root from './Root.vue'; // ✅ new root component

let token = document.head.querySelector('meta[name="csrf-token"]');
axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
Expand Down Expand Up @@ -39,9 +40,7 @@ const router = createRouter({
});
const pinia = createPinia();

const app = createApp({
router,
});
const app = createApp(Root);

app.use(router);
app.use(pinia);
Expand Down
6 changes: 2 additions & 4 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ mix.options({
symlinks: false,
alias: {
'@': path.resolve(__dirname, 'resources/js/'),
},
'vue$': 'vue/dist/vue.runtime.esm-bundler.js', // ✅ ADD THIS LINE
},
},
// stats: {
// children: true,
// }
});

mix.disableSuccessNotifications();