> src/App.jsx:22:0: error: Unexpected "@"
22 │ @observer
error when starting dev server:
Error: Build failed with 1 error:
src/App.jsx:22:0: error: Unexpected "@"
I use the observer as a decorator then i got the error. Can not find a place to enable this option in documentation.
No, you can't. Have to wait for this issue resolved: https://github.com/vitejs/vite/issues/2238