Questions tagged [laravel-mix-vue3]

A Laravel Mix extension for Vue 3, Typescript and JSX.

for more details check this repository

43 questions
16
votes
4 answers

You are running the esm-bundler build of Vue. It is recommended to configure your bundler

I am getting this error on my Vue 3 project: You are running the esm-bundler build of Vue. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.…
SPQRInc
  • 162
  • 4
  • 23
  • 64
6
votes
1 answer

Vue3 access component data attribute from console

How do I access a component data attribute value from the console in Vue 3? When I was working in vue2 I was accessing this using $vm0 and setting and getting any component attribute value but this does not work in Vue 3. Vue.js devtools screenshot…
Jigar
  • 3,055
  • 1
  • 32
  • 51
4
votes
0 answers

Form , HasError, AlertError (export and import) was not found in vform

Form , HasError, AlertError (export and import) was not found in vform When I use the following code. It's not working: import { Form, HasError, AlertError } from 'vform' Vue.component(HasError.name, HasError) Vue.component(AlertError.name,…
3
votes
1 answer

How to create an input field mask in Vue3 using regex for vehicle registration number?

How to create an input field mask in Vue3 using regex for vehicle registration number? I found the solution for masking telephone numbers but when I mix the regex with alphabets it doesn't work at all. Is it possible to create a mask for something…
rajansu
  • 33
  • 2
  • 10
2
votes
2 answers

Laravel Jetstream: Critical dependency: Accessing import.meta directly is unsupported (only property access is supported)

I am facing this critical error while installing Laravel Inertia with Jetstream. larevel new projectName --jet Then I get this: WARNING in ./resources/js/app.js 16:65-76 Critical dependency: Accessing import.meta directly is unsupported (only…
2
votes
1 answer

Cannot get Browsersync working properly with Laravel Sail with Laravel Mix

I have managed to get Browsersync partially working, however, whenever I make a request from my app after the page has loaded, the request is sent to the wrong URL. The following are my Browsersync settings: mix.browserSync({ proxy:…
2
votes
1 answer

TypeError: Cannot read properties of undefined (reading 'model') at Proxy.$_setUpEditorEvents

I am trying to use CKEditor 5 with my Inertia Application in Laravel. But after following the documentation I am getting below error. index.vue file