Skip to content

Instantly share code, notes, and snippets.

@czbaker
Created May 27, 2024 20:39
Show Gist options
  • Select an option

  • Save czbaker/05191757de3cee73e7705544ebf75d95 to your computer and use it in GitHub Desktop.

Select an option

Save czbaker/05191757de3cee73e7705544ebf75d95 to your computer and use it in GitHub Desktop.
<template>
Main Layout
<RouterView />
</template>
<script setup>
import { RouterView } from 'vue-router'
</script>
<style>
html {
@apply bg-gray-800;
}
</style>
@tailwind base;
@tailwind components;
@tailwind utilities;
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import './assets/main.css'
import App from './App.vue'
import router from './router'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.mount('#app')
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/index.html",
"./src/**/*.{vue,js}"
],
theme: {
extend: {},
},
plugins: [],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment