Closed apoorvasrinivasan closed 7 years ago
On using coffee script, it says \
'import' and 'export' may only appear at the top level (3:0)
vue.config.js is like this
vue.config.js
module.exports = { coffee: { includePaths: ['coffee-script', 'coffee-loader'] } }
App.vue
<script lang = 'coffee'> import OtherComponent from './otherComponent.vue' module.exports = name:'app' ...... code
On using coffee script, it says \
vue.config.js
is like thisApp.vue