dva icon indicating copy to clipboard operation
dva copied to clipboard

你好,我想问下npm start后,直接调用public/index.html.

Open wing2002li opened this issue 9 years ago • 1 comments

你好,我想问下npm start后,直接调用public/index.html,在dav new 后,直接会有一个public/index.html,如何修改不调用该页为起始页,而是错src下面调用。我修改了roadhog里面的entry 但是不生效,求解释。

wing2002li avatar Apr 22 '17 05:04 wing2002li

在 src/index.js 文件内添加 import './index.html'; 即可

chunsch avatar Apr 29 '17 17:04 chunsch