argon-dashboard icon indicating copy to clipboard operation
argon-dashboard copied to clipboard

Not working on Laravel 7.0

Open sboal94 opened this issue 4 years ago • 5 comments

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.

sboal94 avatar Mar 05 '20 20:03 sboal94

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

rarestoma avatar Mar 06 '20 07:03 rarestoma

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
^.........^

michael-rubel avatar Oct 18 '20 15:10 michael-rubel

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

rarestoma avatar Oct 19 '20 06:10 rarestoma

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.

michael-rubel avatar Oct 25 '20 18:10 michael-rubel

Hi @mr-observer,

Are you using the PRO version of Argon Dashboard?

Thank you, Rares

rarestoma avatar Oct 26 '20 07:10 rarestoma