Vue's history routing, after packaging, combined with thinkphp, how can F5 refresh not report 404?
李杰
李杰 2019-12-31 17:54:29
0
0
1057

Add base: '/static' to the front end, which is equivalent to lengthening the route. When forwarding, set /static as the condition and forward it to the index.html packaged by Vue, otherwise it will be forwarded to the thinkphp framework. index.php, the unsatisfactory part: the route is lengthened

Please give me some advice on a better forwarding method

李杰
李杰

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!