I attempted to execute the provided code, but unfortunately, it does not work and no output is visible in the browser. Is there an alternative method for writing code within
<scripts setup> </script>
? I have understood that functions should be placed inside
export default { name: 'App', //code }
Because whenever I try something different, such as console.log('It runs')
, an error occurs and the message 'hello world' cannot be displayed. Any assistance would be greatly appreciated ;-;