Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<style> tag's content is trimmed, becoming <style>#app {\n ... \n}</style> #1155

Closed
patarapolw opened this issue Apr 10, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@patarapolw
Copy link

patarapolw commented Apr 10, 2022

I also tested with volar-starter. It might related to #1027 (comment)

<template>
  <img alt="Vue logo" src="./assets/logo.png" />
  <HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
</template>

<script lang="ts" setup>
import HelloWorld from './components/HelloWorld.vue'
</script>

<style>#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}</style>

I also noticed something about volar-starter - johnsoncodehk/volar-starter#5, johnsoncodehk/volar-starter#6

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants