Vue
September 05, 2023Vue CLI Add to existing project
npx @vue/cli create .
Tooling
vue wrapper for preview (with tailwind)
<style>
body {
@apply bg-gray-200 p-0
}
</style>
<script setup>
import "../src/assets/tailwind.css";
// import { getCurrentInstance } from "vue";
// const { appContext } = getCurrentInstance();
// appContext.app.use(mockRouter);
</script>
<template>
<div class="wrapper">
<slot />
</div>
</template>