This is a useful article. However I hit the following error:
[plugin:vite:import-analysis] Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.
If this is useful to anyone, I had to also reference vue within the vite.config.js plugins:
import vue from "@vitejs/plugin-vue";
...
plugins: [
vue(),
laravel({
...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is a useful article. However I hit the following error:
If this is useful to anyone, I had to also reference vue within the vite.config.js plugins: