creativetimofficial / argon-dashboard

Argon - Dashboard for Bootstrap 5 by Creative Tim
https://www.creative-tim.com/product/argon-dashboard
MIT License
664 stars 1.23k forks source link

Not working on Laravel 7.0 #45

Closed sboal94 closed 1 year ago

sboal94 commented 4 years ago

Please update your template, I am going crazy after spending 4 hours trying to install ArgonDashboard on my Laravel 7.0 project!!! The project works on version5.5 and install ok, in 6.2 install ok but in Laravel 7.0 it is not working!!

Please update for Laravel 7.0 or say this don´t work on this version.

rarestoma commented 4 years ago

Hi @chalangui,

Thank you for working with our products.

Did you try working with our Laravel Argon Dashboard https://www.creative-tim.com/product/argon-dashboard-laravel?

Thank you, Rares

michael-rubel commented 3 years ago

And problems with compiling SASS assets using Laravel Mix (Laravel 8).

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css')
    .options({
        postCss: [
            require('postcss-css-variables')()
        ]
    });
ERROR in ./resources/sass/app.scss
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/postcss-loader/src/index.js):
JisonLexerError: Lexical error on line 1: Unrecognized text.

  Erroneous area:
1: 100% - $icon-size-lg - 1
^.........^
rarestoma commented 3 years ago

Hi @mr-observer,

Thank you for working with our products.

Please change 100%-$icon-size-lg - 1 to 100%-#{$icon-size-lg}-1.

Please let me know if it works.

Thank you, Rares

michael-rubel commented 3 years ago

Hello @rarestoma

Additionally, images for the calendar do not exist in the archive and in the NPM package, so build fails. It will be ideal if you can fix it to use plain NPM over placing all the dependencies in the project folder.

[data-calendar-month="0"] {
    background-image: url('../img/calendar/january.jpg');
}
[data-calendar-month="1"] {
    background-image: url('../img/calendar/february.jpg');
}
[data-calendar-month="2"] {
    background-image: url('../img/calendar/march.jpg');
}
[data-calendar-month="3"] {
    background-image: url('../img/calendar/april.jpg');
}
[data-calendar-month="4"] {
    background-image: url('../img/calendar/may.jpg');
}
[data-calendar-month="5"] {
    background-image: url('../img/calendar/june.jpg');
}
[data-calendar-month="6"] {
    background-image: url('../img/calendar/july.jpg');
}
[data-calendar-month="7"] {
    background-image: url('../img/calendar/august.jpg');
}
[data-calendar-month="8"] {
    background-image: url('../img/calendar/september.jpg');
}
[data-calendar-month="9"] {
    background-image: url('../img/calendar/october.jpg');
}
[data-calendar-month="10"] {
    background-image: url('../img/calendar/november.jpg');
}
[data-calendar-month="11"] {
    background-image: url('../img/calendar/december.jpg');
}

Thanks for the help.

rarestoma commented 3 years ago

Hi @mr-observer,

Are you using the PRO version of Argon Dashboard?

Thank you, Rares