B
B
BonBon Slick2020-02-10 08:41:25
Vue.js
BonBon Slick, 2020-02-10 08:41:25

Why does Vuetify partially work when the HTML template is outside of .vue?

<!--<template src="./_index.html"/>--> // Vuetify работает частично.  v-container отрендерен v-btn нет!
<template>
    <section>
        <v-container fluid>
         
                    <v-btn class="bbtn" to="/people">
                        <v-icon>far fa-address-book</v-icon>
                        <span class="bbtn-dot">&bull;</span>
                    </v-btn>
        </v-container>
    </section>

</template>
<script src="./index.js"/>  // nuxt ошибки если имя файла начинается с _
<style lang='scss' type='text/scss' src="./_index.scss"/>


How to fix it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question