This commit is contained in:
Dennis
2022-07-27 13:39:11 +02:00
parent 369d205d6a
commit f2441990cd
3 changed files with 4 additions and 33 deletions

2
package-lock.json generated
View File

@@ -17,7 +17,7 @@
"@tailwindcss/typography": "^0.5.0",
"@types/node": "^18.0.6",
"@vitejs/plugin-vue2": "^1.1.2",
"autoprefixer": "^10.4.0",
"autoprefixer": "^10.4.7",
"axios": "^0.21.1",
"balloon-css": "^1.2.0",
"cross-env": "^7.0.3",

View File

@@ -16,7 +16,8 @@
"@tailwindcss/typography": "^0.5.0",
"@types/node": "^18.0.6",
"@vitejs/plugin-vue2": "^1.1.2",
"autoprefixer": "^10.4.0",
"@rollup/plugin-commonjs": "^21.0",
"autoprefixer": "^10.4.7",
"axios": "^0.21.1",
"balloon-css": "^1.2.0",
"cross-env": "^7.0.3",
@@ -39,6 +40,6 @@
"vuex": "^3.6.2"
},
"dependencies": {
"@rollup/plugin-commonjs": "^21.0"
}
}

30
resources/js/app.js vendored
View File

@@ -40,35 +40,6 @@ const app = document.getElementById('app')
let pageData = JSON.parse(app.dataset.page)
// createInertiaApp({
// title: (title) => `${title} - ${appName}`,
// resolve: (name) => require(`./Pages/${name}.vue`),
// resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')),
// setup({el, App, props, plugin}) {
// Vue
// .use(plugin)
// .use(vClickOutside)
// .use(PortalVue)
// .use(VueMeta)
// .use(VueClipboard)
// .mixin(mixins)
// .component('InertiaLink', InertiaLink)
// .mixin({methods: {route}});
// new Vue({
// render: h => h(App, props),
// })
// .$mount(el);
// },
// });
// InertiaProgress.init({
// delay: 250,
// color: '#1b8ae8',
// includeCSS: true,
// showSpinner: false,
// })
new Vue({
store,
metaInfo: {
@@ -80,7 +51,6 @@ new Vue({
resolveComponent: async(name) => {
const pages = import.meta.glob('./**/*.vue');
console.log(name);
return (await resolvePageComponent(`./Pages/${name}.vue`, pages)).default;
}
},