Router就是React的一个组件,它并不会被渲染,只是一个创建内部路由规则的配置对象,根据匹配的路由地址展现相应的组件。Route则对路由地址和组件进行绑定,Route具有嵌套功能,表示路由地址的包涵关系,这和组件之间的嵌套并没有直接联系。
Given an array of integers, return indices of the two numbers such that they add up to a specific target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
Example:
|
|
因为想做个网页展示个人项目给HR看,增加简历通过机会。┑( ̄Д  ̄)┍
所以就想着把sugarac.com改为项目展示页面,sugarac.com/blog/作为博客。
那么怎么实现呢?网上教程有一些,但是有问题,所以我自己写了个教程。
总体就两步,sugarac.com/blog作为博客,sugarac.com改为项目展示页面。(╯‵□′)╯︵┻━┻
大象看了想打人,废话不多说,下面开始正文。