From 54c7fed1d0c4519c5aaa5914863062c32616cd4b Mon Sep 17 00:00:00 2001 From: Reza Amini Date: Fri, 25 Dec 2020 13:08:57 +0330 Subject: [PATCH] update README.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6e38e9d..c7abf35 100644 --- a/README.md +++ b/README.md @@ -143,10 +143,20 @@ Blade template engine has created to not code PHP pure, It has created to code e - `@script` ```blade @script('js/script.js', true) - - // Return script tag with 'defer' : + // Return script tag with 'https' protocol : + + @script('js/script.js', false) // Second and third parameter is optional + // Return with 'http' protocol : + + @script('js/script.js', true, true) + // Return with 'defer' attribute : +``` + +- `@style` +```blade + @style('css/app.css', true) + // Return link tag with 'https' protocol : - @script('js/script.js', false) // Second parameter is optional - - // Return : + @style('css/app.css', false) + // Return with 'http' protocol : ``` \ No newline at end of file