Skip to content

Instantly share code, notes, and snippets.

@goddoe
Created May 14, 2022 13:48
Show Gist options
  • Select an option

  • Save goddoe/cafb25b524cec80d0b183e806cb14fef to your computer and use it in GitHub Desktop.

Select an option

Save goddoe/cafb25b524cec80d0b183e806cb14fef to your computer and use it in GitHub Desktop.
vue3. add class after mount
<script setup>
import { RouterLink, RouterView } from "vue-router";
import { onMounted } from 'vue';
onMounted(() => {
// document.getElementById("app").classList.add('col-lg-8', 'mx-auto', 'p-3', 'py-md-5')
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment