Tag: view
-
Post Views: 16 1. In Laravel, when responding to 404 in the middleware, an error is reported: View[components.css]not found. as shown in Figure 1 2. Check the corresponding topic, confirm that the file /resources/views/view_object/components/css.blade.php exists. as shown in Figure 2 3. The same response of 404 code, error in the middleware: View[components.css]not found. Response 404 in the controller method. Print…
-
Post Views: 19 1. In Laravel 6, when the URL does not exist, when the expected response is 404, the final response is 500. as shown in Figure 1 2. Open the URL:https://object.local/pages/ce-shi, the response 200. as shown in Figure 2 3. After deleting the data of this custom page in the database, the response is 500. as shown in…
-
Post Views: 19 1. In Postman, the details of the specified resource of the GET request, the response is 200, as shown in Figure 1 2. Check the routing configuration, the code is as follows 3. Check the controller, the code is as follows 4. Details of the specified resource for the POST request in Postman, the response is 404,…
-
Post Views: 13 1. Create a new directory: \backend\views\themes\default, specify the base directory containing the theme resources (css, js, images, etc.), as shown in Figure 1 2. Copy the directory: all files under \backend\views\ (excluding themes), as shown in Figure 2 3. Paste it to the directory: \backend\views\themes\default\, the copy has been successful, as shown in Figure 3 4. Configure…