We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9565c41 commit 98f0f57Copy full SHA for 98f0f57
README.md
@@ -28,6 +28,7 @@ class Test
28
29
```php
30
{!! Khead::getMeta('viewport') !!}
31
+// <meta name="viewport" content="width=device-width, initial-scale=1">
32
```
33
34
# link
@@ -38,10 +39,20 @@ Khead::setLink('author',[
38
39
"href"=>"humans.txt"
40
]);
41
// access inside view
-
42
{!! Khead::getLink('author') !!}
43
+// <link rel="author" href="humans.txt">
44
45
46
+# script
47
+
48
+```php
49
+Khead::setScript('one',[
50
+ "src"=>"test.js",
51
+]);
52
+// view
53
+Khead::getScript('one');
54
+// <script src="test.js"></script>
55
+```
56
# title
57
58
0 commit comments