src/views/home/index.vue
@@ -1,10 +1,15 @@ <template> <UserPanel></UserPanel> <div class="test"></div> </template> <script setup> import UserPanel from './components/user-panel/index.vue'; </script> <style lang="scss" scoped> .test { height: 500px; } </style>