mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-07 10:37:33 +08:00
Merge pull request #441 from nagisa77/codex/fix-vditor-styles-not-applying-in-ssr
fix: apply global Vditor styles in SSR
This commit is contained in:
@@ -2,7 +2,8 @@ import { defineNuxtConfig } from 'nuxt/config'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
ssr: true,
|
||||
css: ['~/assets/global.css'],
|
||||
// Ensure Vditor styles load before our overrides in global.css
|
||||
css: ['vditor/dist/index.css', '~/assets/global.css'],
|
||||
app: {
|
||||
head: {
|
||||
script: [
|
||||
|
||||
Reference in New Issue
Block a user