Created
November 21, 2016 13:38
-
-
Save mtuchi/2040af56bafd9210dacb1ca7535bbe99 to your computer and use it in GitHub Desktop.
How to include css and js file in pagekit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<?= $view->render('head') ?> | |
<?php $view->style('custom-uikit', 'theme:css/uikit.min.css') ?> | |
<?php $view->style('theme', 'theme:css/theme.css') ?> | |
<?php $view->style('uikit-slideset', 'theme:css/components/slideset.css') ?> | |
<?php $view->style('uikit-slideshow', 'theme:css/components/slideshow.css') ?> | |
<?php $view->script('theme-jquery', 'theme:app/assets/jquery/dist/jquery.min.js') ?> | |
<?php $view->script('theme-uikit', 'theme:js/uikit.min.js', 'theme-jquery') ?> | |
<?php $view->script('uikit-slideset', 'theme:js/components/slideset.js', 'theme-jquery') ?> | |
<?php $view->script('uikit-slideshow', 'theme:js/components/slideshow.js', 'theme-jquery') ?> | |
<?php $view->script('theme', 'theme:js/theme.js', ['uikit-sticky', 'uikit-slideset', 'uikit-lightbox', 'uikit-parallax']) ?> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment