refactor(projects): 名称变更

This commit is contained in:
Soybean 2021-09-01 18:45:28 +08:00
parent ef57d9e6a9
commit 93bbaca89a
4 changed files with 4 additions and 4 deletions

4
.env
View File

@ -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=/

View File

@ -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

View File

@ -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);