体验新版 GitCode,发现更多精彩内容 >>
import {router} from 'san-router'; import HomePage from './Home'; router.add({ target: '#content',
rule: '/',
Component: HomePage });