You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I added vite from pentatrion after updating symfony from 5.4 to 6.4 to modernize company application. However stimulus keeps being added to alot of files and it causes errors if the file starts with u because it inserts \u.
This is what's being inserted when running vite
if(import.meta.hot){import.meta.hot.accept(newModule=>{if(!window.$$stimulusApp$$){console.warn('Stimulus app not available. Are you creating app with startStimulusApp() ?');import.meta.hot.invalidate();}else{window.$$stimulusApp$$.register('vendor\symfony\ux-vue\assets\dist\render',newModule.default);}})}
My vue components are not displayed as well using vue_component I have to manually createApp and mount it and disabling stimulus breaks everythings. My office pc is running windows.
If this is not the right place I'm sorry and let me know where I should paste it instead. Thanks!
This discussion was converted from issue #798 on October 25, 2024 14:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So I added vite from pentatrion after updating symfony from 5.4 to 6.4 to modernize company application. However stimulus keeps being added to alot of files and it causes errors if the file starts with u because it inserts \u.
This is what's being inserted when running vite
This is my vite.config.js
the part in app.js
I don't remember this but must've been from recipes
My vue components are not displayed as well using vue_component I have to manually createApp and mount it and disabling stimulus breaks everythings. My office pc is running windows.
If this is not the right place I'm sorry and let me know where I should paste it instead. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions