<?php
Route::get('/non_view_sample', function () {
return '
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ルーティングのみでHTMLを出力</title>
</head>
<body>
<h1>ルーティングのみでHTMLを出力</h1>
<p>ルーティングのファイルのみで、HTML全体を返すと長くなります。</p>
</body>
</html>
';
});
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00