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