mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-22 04:13:46 +00:00
20 lines
402 B
TypeScript
20 lines
402 B
TypeScript
import { createApp } from 'vue'
|
|
import App from './App.vue'
|
|
import './styles/global.css'
|
|
|
|
/** Tailwind's Preflight Style Override */
|
|
function naiveStyleOverride() {
|
|
const meta = document.createElement('meta')
|
|
meta.name = 'naive-ui-style'
|
|
document.head.appendChild(meta)
|
|
}
|
|
|
|
/** Setup */
|
|
function bootstrap() {
|
|
const app = createApp(App)
|
|
naiveStyleOverride()
|
|
app.mount('#app')
|
|
}
|
|
|
|
bootstrap()
|