1 2 3 4 5 6 7 8 9 10 11 12 13 14
import React from 'react'; import { styled } from 'umi'; const Wrapper = styled.div` h1 { background: rgb(121, 184, 242); } `; export default function Page() { return ( <Wrapper> <h1>Page index</h1> </Wrapper> ); }