[Vuejs]-Vuejs: Multiple CSS template in one application

0👍

you can use 2 different main html page if your main scripts are entirely different. You can configure it in backend.

Another idea is adding only common scripts and styles in html file. And use your scoped styles in components. Add style of each component in "style" tag below "script" tag. make the style scoped using :

VUE COMPONENT:

<template>
</template>

<script>
<script>

<style scoped>
    /* your style */ 
</style>

Scope of this style would only be applicable to current component.

Leave a comment