view_replace_str已經(jīng)設(shè)置好了,但是無法訪問資源。
在config中已經(jīng)設(shè)置了模板輸出字符。 'view_replace_str'???????=>?[ ????'__PUBLIC__'=>'/public', ], 在模板文件中調(diào)用 <link?href="__PUBLIC__/css/style.css"?rel="stylesheet"?type="text/css"?media="all"?/> 但是前臺無法訪問到css使用。 Failed?to?load?resource:?the?server?responded?with?a?status?of?404?(Not?Found)??http://tp.com/public/css/style.css 項目地址在app文件夾。入口文件在public文件夾。 請問這該如何解決?