refactor(projects): 名称变更
This commit is contained in:
parent
ef57d9e6a9
commit
93bbaca89a
4
.env
4
.env
@ -1,5 +1,5 @@
|
||||
# 变量需要以VITE开头
|
||||
|
||||
VITE_APP_TITLE=SoybeanAdmin
|
||||
VITE_APP_TITLE_LABEL=Soybean后台管理系统
|
||||
VITE_APP_TITLE=Soybean
|
||||
VITE_APP_TITLE_LABEL=Soybean个人网站
|
||||
VITE_BASE_URL=/
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "web-cli",
|
||||
"name": "soybean-admin",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.7 KiB |
@ -5,10 +5,10 @@ export default function setupWindicssDarkMode() {
|
||||
const app = useAppStore();
|
||||
|
||||
const DARK_CLASS = 'dark';
|
||||
|
||||
function getHtmlElement() {
|
||||
return document.querySelector('html')!;
|
||||
}
|
||||
|
||||
function addDarkClass() {
|
||||
const html = getHtmlElement();
|
||||
html.classList.add(DARK_CLASS);
|
||||
|
Loading…
Reference in New Issue
Block a user