Skip to content

laravel mix. Incorrect route (404) #19

@jjmontalban

Description

@jjmontalban

Hi

When I compile with npm run watch and load app in Js console appear this error:

image

image

I can solve changing:

<script src="{{ mix('js/app.js') }}"></script>

for

<script type="text/javascript" src="{{ asset('public/js/app.js') }}"></script>

in resource/view/app.blade.php

But I want to use Laravel Mix sessions

How Can I solve it?

best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions