fix: router

This commit is contained in:
Jannat Patel
2024-03-19 12:51:11 +05:30
parent 86748b301d
commit f15862cef4
4 changed files with 21 additions and 6 deletions

View File

@@ -3,9 +3,10 @@
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite --host",
"build": "vite build",
"preview": "vite preview"
"dev": "vite",
"serve": "vite preview",
"build": "vite build --base=/assets/lms/frontend/ && yarn copy-html-entry",
"copy-html-entry": "cp ../lms/public/frontend/index.html ../lms/www/learning.html"
},
"dependencies": {
"@editorjs/checklist": "^1.6.0",
@@ -34,4 +35,4 @@
"postcss": "^8.4.5",
"vite": "^5.0.11"
}
}
}