Open Ly-TiR opened 2 months ago
// 通过:v-global()实现 <template> <p>Hello Vue.js</p> </template> <style scoped> p { font-size: 20px; color: red; text-align: center; line-height: 50px; } /* Make it work */ :global(body) { width: 100vw; height: 100vh; background-color: burlywood; } </style>