You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nova Devtool ships with a generic `nova.mix.js` instead of publishing the file on each 3rd-party components. For external 3rd-party component you just need to include change the following code in `webpack.mix.js`:
71
+
72
+
```diff
73
+
let mix = require('laravel-mix')
74
+
75
+
-require('./nova.mix') // [!code --]
76
+
+mix.extend('nova', new require('laravel-nova-devtool')) // [!code ++]
77
+
78
+
mix
79
+
.setPublicPath('dist')
80
+
81
+
// ...
82
+
```
83
+
84
+
Finally, you can remove the existing `nova.mix.js` from the component root directory.
0 commit comments