This commit replaces the basic textarea in the 'Add News' modal with a full-featured Markdown editor. - Adds the `md-editor-v3` dependency. - Implements the editor within a `ClientOnly` component for client-side rendering. - Creates a Nuxt plugin to register the `MdEditor` component globally. - Adjusts the modal to be fullscreen to provide a better user experience for content creation.
37 lines
856 B
JSON
37 lines
856 B
JSON
{
|
|
"name": "nuxt-app",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "nuxt build",
|
|
"dev": "nuxt dev",
|
|
"generate": "nuxt generate",
|
|
"preview": "nuxt preview",
|
|
"postinstall": "nuxt prepare"
|
|
},
|
|
"dependencies": {
|
|
"@nuxt/content": "3.7.1",
|
|
"@nuxt/image": "1.11.0",
|
|
"@nuxt/ui": "4.0.1",
|
|
"@nuxtjs/robots": "5.5.5",
|
|
"@nuxtjs/seo": "3.2.2",
|
|
"@nuxtjs/sitemap": "7.4.7",
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"better-sqlite3": "^12.4.1",
|
|
"element-plus": "^2.11.4",
|
|
"html2pdf.js": "^0.12.1",
|
|
"maska": "^3.2.0",
|
|
"md-editor-v3": "^6.0.1",
|
|
"nuxt": "^4.1.3",
|
|
"reka-ui": "^2.5.1",
|
|
"tailwindcss": "^4.1.14",
|
|
"typescript": "^5.9.3",
|
|
"vue": "^3.5.22",
|
|
"vue-router": "^4.5.1",
|
|
"vue-sonner": "^2.0.9"
|
|
},
|
|
"devDependencies": {
|
|
"sass-embedded": "^1.93.2"
|
|
}
|
|
}
|