Just a template for me.
- Laravel 5.4
- UIkit 3.0.0-beta
UIkit2 -> uikit2
branch.
After php artisan make:auth
, replace view files from this repository.
{
"devDependencies": {
"axios": "^0.15.3",
"cross-env": "^3.2.3",
"jquery": "^3.1.1",
"laravel-mix": "0.*",
"lodash": "^4.17.4",
"uikit": "^3.0.0-beta.21"
}
}
const {mix} = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
https://getuikit.com/docs/webpack
import UIkit from 'uikit';
import Icons from 'uikit/dist/js/uikit-icons';
UIkit.use(Icons);
https://getuikit.com/docs/sass
@import "node_modules/uikit/src/scss/variables-theme.scss";
@import "node_modules/uikit/src/scss/mixins-theme.scss";
@import "node_modules/uikit/src/scss/uikit-theme.scss";