vue-cli-multi-page icon indicating copy to clipboard operation
vue-cli-multi-page copied to clipboard

访问路径为什么一定要加上.html,可以配置省略缺省吗?

Open caojieliang opened this issue 7 years ago • 4 comments

http:// localhost:8091/views/home/list.html 访问路径为什么一定要加上.html,可以配置省略缺省吗(如下地址)?怎么改 http:// localhost:8091/views/home/list

caojieliang avatar Jun 21 '17 08:06 caojieliang

可以用nginx配置

bluefox1688 avatar Jun 22 '17 02:06 bluefox1688

不是很了解nginx

caojieliang avatar Jun 22 '17 02:06 caojieliang

百度学习下

bluefox1688 avatar Jun 22 '17 02:06 bluefox1688

用Nginx 或者后端环境配置路由

pzZZZZ avatar Oct 27 '17 02:10 pzZZZZ