Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

unable to use coffee script #187

Closed
apoorvasrinivasan opened this issue May 13, 2017 · 0 comments
Closed

unable to use coffee script #187

apoorvasrinivasan opened this issue May 13, 2017 · 0 comments

Comments

@apoorvasrinivasan
Copy link

On using coffee script, it says \

  'import' and 'export' may only appear at the top level (3:0)

vue.config.js is like this

          module.exports = {
           coffee: {
                  includePaths: ['coffee-script', 'coffee-loader']
              }
         }

App.vue

       <script lang = 'coffee'>
       import OtherComponent from './otherComponent.vue'
       module.exports = 
           name:'app'
            ...... code 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant