Logo

GitLab

Sign in

front-cli / fw-h5app-template

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Snippets
  • fw-h5app-template
  • src
  • routes
  • layout.tsx
  • 🐱 feat(*): init
    5d134410
    张志伟 authored
    2024-04-12 17:35:01 +0800  
    Browse Code »
layout.tsx 255 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import { Outlet } from '@modern-js/runtime/router';
import dayjs from 'dayjs';

import 'dayjs/locale/zh-cn';
import '@/style/global.scss';

dayjs.locale('zh-cn');

export default function Layout() {
  return (
    <div>
      <Outlet />
    </div>
  );
}