0👍
If your goal isn’t to avoid precompilation, you can still use single-file components and split the js and css into different files. They include an example of this structure in the docs.
<template>
<div>This will be pre-compiled</div>
</template>
<script src="./my-component.js"></script>
<style src="./my-component.css"></style>
- [Vuejs]-Errors compiling Vue with TypeScript
- [Vuejs]-I am trying to pass user id from my blade template to Vue for Axios post request to the server
Source:stackexchange.com