Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@QingWei-Li QingWei-Li released this 27 Jul 16:20
· 30 commits to master since this release

Breaking change

  • Automatic extract script and style tags from html token content #26
# Test

<div class="test">test</div>

```html
<style scoped>
  .test {
    background-color: green;
  }
</style>

<div class="test">test</div>
`` `

to be compiled

<style>
   .test[v-xxxx] {
        background-color: green;
    }
</style>

<h1>Test</h1>

<pre><code>
<style scoped>
  .test {
    background-color: green;
  }
</style>

<div class="test">test</div>
</code></pre>