kossa / laradminator

Integration of Adminator into Laravel 6.x/7.x/8.x with RTL support

Home Page:https://laradminator.kossa.one/admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adding more dependencies

dawnpeace opened this issue · comments

So i wanted to add select2 in laradminator
installed via npm and adding folder select2 and index.js in assets folder just like other included dependencies
but i cant use it just like included dependecies can you tell me where i did wrong?

I laready added it on some projects, may be I'll add it in Laradminator

import * as $ from 'jquery';
import 'select2';
import 'select2/dist/css/select2.css'; 

export default (function () {
    $('.select2').select2();
}())

That'd be great sir

Closed with 17cda52

@dawnpeace check last commit : 17cda52