srcassetscssvariables.less
@theme-color: blue; @max-width: 600px; @small-height: 300px;
srcpagesindex.tsx
import yayJpg from '../assets/yay.jpg';
import './index.less';
export default function HomePage() https://blog.csdn.net/weixin_40119412/article/details/{
return (
Yay! Welcome to umi!
yayJpg} width="388" />
To get started, edit pages/index.tsx and save to reload.
jjjjjj
);
}
srcpagesindex.less
@import '../assets/css/variables.less';
.box-test https://blog.csdn.net/weixin_40119412/article/details/{
background-color: @theme-color;
height: @small-height;
width: @max-width;
}
暑期编程PK赛
得CSDN机械键盘等精美礼品!


