mmaged
5 months ago
512
1
Laravel

npm not render app.js

Posted 5 months ago by mmaged

I have npm installed

npm install

And run npm watch

npm run watch

Thre result

 DONE  Compiled successfully in 12097ms                                                                                                     

       Asset     Size  Chunks             Chunk Names
/css/app.css  786 KiB     mix  [emitted]  mix

The problem that app.js file does not rendering by npm. So when I register a new Vue.JS component Globally in resources/js/app.js, "Unknown Custom Element" error blowing up

Please sign in or create an account to participate in this conversation.