-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue SFC implementation failed. #732
Comments
Find issue reason. Parcel doesn't automatically catch file by it's extension: import App from './App' File extension should be implicit. import App from './App.vue' |
At the same time I've get next error:
The error is about PUG template in Vue SFC Looks like it's an error of embed linter. |
mark |
I've found out that it's coffeescript compiler problem. <template lang="pug">
div
h1 {{text}}
ui-alert() Fix this
</template>
<script lang="coffee">
export default
name: 'app'
data: ->
text: 'Test6'
</script>
<style lang="stylus">
body
background rgba(0,0,0,0.1)
h1
font-size 2em
</style> When I rewrote coffee to standard JS, everything become works. Please fix coffee compiler for Vue Single File Components. |
Sounds like you should report to parcel-plugin-vue. |
mark |
cc @shawwn |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. |
Hi there!
馃悰 bug report
Vue SFC doesn't loads properly.
馃帥 Configuration (.babelrc, package.json, cli command)
.babelrc
package.json
index.pug
app.coffee
App.vue
馃 Expected Behavior
Don't pay attention to pug and coffee. I've tried before using clean HTML and JS. The results were the same.
Every time I've got following error:
馃實 Your Environment
The text was updated successfully, but these errors were encountered: