Level 75
And you performed every step in the upgrade guide to manually upgrade laravel prior to upgrading the framework?
2 likes
4.3.9
10.13.2
20.2.0
9.7.1
Windows (WSL)
10
Firefox 113.0.2
No
Hi guys,
I started developing a project in laravel version 9 with vue. Then when Laravel released a new version (10) I updated my project to the new version. After that, when I do "npm run dev" the project doesn't load and it doesn't detect any changes in the vue files.
This is my vite.config.js file
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';
import * as path from 'path';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/assets/js/app.js',
],
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "./resources/assets/sass/_variables.scss";`
}
}
},
resolve: {
alias: {
vue: 'vue/dist/vue.esm-bundler.js',
'~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'),
},
},
});
Can anyone help?
Please or to participate in this conversation.