ant-design-landing icon indicating copy to clipboard operation
ant-design-landing copied to clipboard

能不能一次生成多个页面

Open brucejcw opened this issue 6 years ago • 3 comments

能不能一次生成多个页面, 这样导出一份json数据即可, 不然download HOME1, HOME2, HOME3, 我改个导航栏还要改三份json文件

brucejcw avatar Feb 20 '19 06:02 brucejcw

这个咋说呢,暂时整不了 router 这块,,我觉得可以先了解下 router,再抽个 layout ,,把导航与页尾放在 layout 里,只需一个页面有导航与页尾,,其它两个页面不要生成导航与页尾,然后 router 里指定就可以了。。。

jljsj33 avatar Feb 20 '19 14:02 jljsj33

@jljsj33 多个页面的时候,这个样式怎么处理的,现在分了home 页,about us 页,然后about us页面样式不起作用

ulongx avatar Apr 18 '19 02:04 ulongx

模板的样式是通用的,,只要你有加载就不会不起作用的。。可以参考 https://github.com/ant-motion/landing-umi-example/tree/router/src

jljsj33 avatar Apr 18 '19 06:04 jljsj33