Home> PHP Framework> Laravel> body text

Solve the problem that laravel8.x user authentication vite command does not take effect

藏色散人
Release: 2023-01-16 20:29:06
forward
1706 people have browsed it

This article brings you relevant knowledge about laravel8.x. It mainly introduces the problem that laravel8.x user authentication vite command cannot take effect. Interested friends should take a look at it. I hope it will be helpful to everyone. .

Solve the problem that laravel8.x user authentication vite command does not take effect

laravel 8.* The user authentication vite command does not take effect

In laravel 8.*, enable user authentication according to the documentation

composer require laravel/jetstream php artisan jetstream:install livewire
Copy after login

The page @vite encountered does not work. The page performance is css and js is not loaded.

The following line of instructions

@vite (['resources/css/app.css', 'resources/js/app.js'])

is displayed directly in the form of text without parsing.

Solution:

composer require laravel/breeze:1.9.4 php artisan breeze:install
Copy after login

[Related recommendations:laravel video tutorial]

The above is the detailed content of Solve the problem that laravel8.x user authentication vite command does not take effect. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!