Question: Frontend View Broken After Npm Install

Frontend View Broken After Npm Install

Hi, I wanted to add another translation language to dashboard, I have completed every step from documentation(Chapter 4) and after third step I run `npm install && npm run build` i got br

SP

Slavisa Petrovic

Asked

Hi,

I wanted to add another translation language to dashboard, I have completed every step from documentation(Chapter 4) and after third step I run npm install && npm run build i got broken frontend view: every link on the page is one after other and icons are too big it is like css and html it is not on right place.

My development specs:

PHP 8.2.4 (cli) (built: Mar 14 2023 17:54:25) (ZTS Visual C++ 2019 x64) Copyright © The PHP Group Zend Engine v4.2.4, Copyright © Zend Technologies

node v18.12.1 mysqlnd 8.1.6

Can you please help?

  • MS

    Mian Saleem

    Answered

    Hello,

    Was there any error when you run the command? Please share the installation url in private replty so that I can have a look.

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    I can’t guess what’s wrong. If you can install on live server I can help you check.

    The content option should not be missing. Did you modify the config file? The tailwind config file content are

      content: [
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './vendor/laravel/jetstream/**/*.blade.php',
        './storage/framework/views/*.php',
        './resources/views/**/*.blade.php',
        './resources/js/**/*.vue',
      ],
    

    Thank you

  • Login to Reply