Open ghost opened 6 years ago
How to use coreui with symfony4?
I'm not the author, but you can install Symfony Encore that is a wrapper for Webpack, and install as suggested in the documentation:
For the style files you should import your SCSS/CSS files in javascript and let encore/webpack compile them something like this:
// assets/scss/system.scss
@import "system/variables";
// CoreUI
@import "system/coreui";
// Fontawesome
@import "system/fontawesome";
// assets/js/app.js
import '../../scss/system.scss';
import $ from 'jquery';
import 'bootstrap';
import '@coreui/coreui/js/src/ajax-load';
import '@coreui/coreui/js/src/aside-menu';
import '@coreui/coreui/js/src/sidebar';
import './components/bootstrap-input';
$('#ui-view').ajaxLoad();
https://coreui.io/docs/getting-started/webpack/ https://symfony.com/doc/current/frontend.html
How to use coreui with symfony4?