[Vuejs]-Getting variable undefined inside try…catch statement

0👍

I tried in one of my similar actions called…. login (sic). I get the correct value from both calls outside and inside of the try block. So my interrogation now is: how do you build your app? Using a bundler, with or without babel or another?

I tend to prefer clean setup for developping, and so not using babel, and bundling with rollup in esm format. Maybe transpiled code is the issue (I know for example that generators created for async methods result in drastically different code).

Leave a comment