You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even on this stupid situation, SFC compiler doesn't throw any error.
At least, with my config, <script type="sass"> seems invoke both of sass-loader and eslint, and sass got transpiled and worked. is this intended behavior?
hibiyasleep
changed the title
SFC: Unclosed <style> tag should throw error, or just work
SFC: Invalid root tag structure should throw error
Mar 29, 2018
Moved from: vue-loader#1161
What problem does this feature solve?
In Single File Component,
<script>
tag may or may not closed, so this works:However,
<style>
isn't; if there's no</style>
, styles are simply ignored without any warning or errors.What does the proposed API look like?
Any
<template>
,<script>
,<style>
tags should explicitly:or May not closed - contents should build correctly even it's not closed.The text was updated successfully, but these errors were encountered: