安装less

This commit is contained in:
禺狨
2023-03-03 13:50:50 +08:00
parent b4d66982ad
commit 4fa5daa326
37 changed files with 2012 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
import React from "react";
import styles from "./Footer.module.css";
import styles from "./Footer.module.less";
import { Layout, Typography } from "antd";
export const Footer: React.FC = () => {

View File

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

View File

@@ -7,9 +7,9 @@ import {
import { Menu } from "antd";
//导出路由跳转hooks函数
import { useNavigate, Link } from "react-router-dom";
import styles from "./LeftMenu.module.css";
import styles from "./LeftMenu.module.less";
import logo from "../../assets/logo.png";
import "../../utils/index.css";
import "../../utils/index.less";
function getItem(label: any, key: any, icon: any, children: any, type: any) {
return {