Answer the question
In order to leave comments, you need to log in
How to resize vue 2 cli child component?
Hello, I have a component
<template>
<div class="frame">
</div>
</template>
<style lang="scss" scoped>
.frame {
height:100%;
width:100%;
}
</style>
<script>
export default {
name: "Auth",
};
</script>
<template>
<div><Auth></Auth></div>
</template>
<style lang="scss" scoped>
Auth {
width: 50vmin; //не работает
}
</style>
<script>
import Auth from "@/components/Auth.vue";
export default {
name: "Authorization",
components: {
Auth,
},
};
</script>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question