安装less

This commit is contained in:
禺狨
2023-03-03 14:24:55 +08:00
parent d13de512fc
commit afaafeba31
26 changed files with 78 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
import React from "react";
import styles from "./index.less";
import styles from "./index.module.less";
import { Layout, Button, Dropdown, MenuProps } from "antd";
import { useSelector } from "../../store/hooks";
import { useDispatch } from "react-redux";

View File

@@ -1,13 +0,0 @@
.left-menu {
width: 200px;
height: 100%;
background-color: #fff;
}
.App-logo {
width: 124px;
height: 40px;
margin-top: 16px;
margin-left: 38px;
margin-bottom: 20px;
}

View File

@@ -0,0 +1,12 @@
.left-menu {
width: 200px;
height: 100%;
background-color: #fff;
.App-logo {
width: 124px;
height: 40px;
margin-top: 16px;
margin-left: 38px;
margin-bottom: 20px;
}
}

View File

@@ -7,7 +7,7 @@ import {
import { Menu } from "antd";
//导出路由跳转hooks函数
import { useNavigate, Link } from "react-router-dom";
import styles from "./index.less";
import styles from "./index.module.less";
import logo from "../../assets/logo.png";
import "../../utils/index.less";