mrcsmcln mrcsmcln
9

Laravel Valet not playing nice with BrowserSync

The title pretty much says it all. I've configured my valet park'd my ~/Sites directory and tried using mix.browserSync({proxy: 'site.dev'})...
Mix
9
428
robertwt7 robertwt7
0

How to setup babel to read package.json in mix?

Hi Guys, I"m new to react and front end stuff, so today i learned stuff about @babel/plugin-proposal-class-properties...
Mix
0
16
RichardStyles RichardStyles
1

Using mix.extract() with bootstrap 4

I'm struggling to get bootstrap 4 (the recent alpha) to load properly when using mix.extract() My mix file: mix.js('resources/assets/js/app.js', 'publ...
Mix
1
101
swimmer swimmer
5

where I can download free icons for commercial use

I need a recommendation for a website where I can download free icons for commercial use for example I need now and add to cart button....
Mix
5
91
rishi85 rishi85
8

can't get font-awesome to work with laravel mix

I've done the following to try and get font awesome to work but i cannot get the icons to display. npm-install npm install font-awesome Then added the...
Mix
8
405
EmilMoe EmilMoe
7

npm run prod fails with Bootstrap

Can anyone explain to me what is going wrong here and how to fix it? The problem only occurs when I compile for production npm run prod never when I compile f...
Mix
7
378
MikeA MikeA
3

Correct way to use Mix for jQuery?

See how someone excellently set out the (common) issue, albeit some time ago:...
Mix
3
817
Abutaher Abutaher
2

Hello, I am Abu taher fell this some probleam Plese Look its,

It my dodel public function course() { return $this->belongsTo('App\Course'); } Its my Controller...................... public function index(Request $requ...
Mix
2
59
thebigk thebigk
3

Laravel Mix and Tree Shaking JavaScript

I'm curious to know if we need to explicitly enable tree shaking in Laravel Mix. Even with npm run prod, the size of my app.min.js is abou ~305 Kb! I'm...
Mix
3
79
skeith22 skeith22
5

Mix v4 outputs blank app.css file

I have a fresh installation of Laravel 5.8 node v10.15.3 npm v6.10.1 I have this webpack.mix.js config const mix = require('l...
Mix
5
1301
jstam89 jstam89
1

Laravel Vue compile error

Hi, I've been trying to get my vue component up and running but getting errors. Anyone can see what might be the problem according to the log? My log says: 0...
Mix
1
72
xperator xperator
7

Laravel Mix 'npm run watch' recompiles everything every time I change a file

I'm kinda new to Mix. It's been great so far but I don't know why whenever I change one of my source files, It recompiles almost all my assets instead of just recompiling t...
Mix
7
622
FareedR FareedR
1

change require to public path in laravel mix ( react js )

how can i change from require to public path , because when i change it , path doesnt right .. // in component file <img src={require('../../../images/fir...
Mix
1
93
alexh alexh
0

Laravel mix + vue dynamic async components

Following up the discussion on the laravel mix github repo:...
Mix
0
75
george1 george1
5

Many many errors with npm - want ot minify CSS and JS

Hi I am completely new to npm and I am already getting a BUNCH of errors when I run npm production. I don't use npm but I suddenly need it in order to use mix to min...
Mix
5
286
twg_ twg_
0

Error when mixing JS

I have 3 JS files in my project. When I try to mix them into a single js file, I get undefined. site.js - compiles fine by itself slider.js - compile...
Mix
0
73
FareedR FareedR
13

CSS Overlap

How can I resolve css overlap ? any tricks ?...
Mix
13
472
aem99 aem99
2

Mix extract with vue dynamic import

Hi, I am using mix v5 with the extract option to split my code. This is working great and with no issues, but once I dynamically import vue components it breaks. The...
Mix
2
245
FareedR FareedR
2

Tricks on slideToggle

how can I use slideToggle on react js ? any tricks ?...
Mix
2
192
JorgeAlberto JorgeAlberto
1

How to configure laravel mix to work with asynchronous components?

Hi. I have a Laravel project and I am using Vuetify. this my config to plugin vuetify import Vue from "vue"; import Vuetify from &quo...
Mix
1
159
memele memele
8

Error in Bootstrap files when compiling assets.

I was running npm run watch which was working fine until it got stuck on 16% when compiling. I googled it and found that running npm run prod show...
Mix
8
256
PaulMarshall PaulMarshall
8

Getting Mix to compile node_modules file

We're using https://github.com/RobinCK/vue-popper via npm install vue-popperjs...
Mix
8
368
undefined_variable undefined_variable
1

Google autocomplete doesnt work when compiled with mix, why is that?

Google autocomplete doesnt work when compiled with mix, why is that? So I'm trying to clean things up a bit, and I want to put the google autocomplete code in its ow...
Mix
1
185
Medala Medala
13

Cannot install Tailwindcss on a fresh laravel project

Is there an issue installing Tailwindcss on the latest laravel? I have spent four hours trying to make it work on a fresh project....
Mix
13
364
tihoti tihoti
3

App.js missing dependencies when adding new package

Hi guys I am trying to add videojs-records to my Laravel 6 project . Using this example (...
Mix
3
186
zefex zefex
1

Support for the experimental syntax 'nullishCoalescingOperator' isn't currently enabled

I'm trying to use ?? inside a vue component and I'm getting this error. Support for the experimental syntax 'nullishCoalescingOperator' isn...
Mix
1
302
Yusup Yusup
3

Lazy loaded files versioning.

Hi.I'm useing Laravel 5.3 with Vuejs2.In vue router I require components lazy path: '/archive', name: 'archive', component: resolve => {...
Mix
3
268
erigra erigra
0

VS Code compile notifications

When I am running "npm watch" in VS Code and compiling assets, I used to get a notifiction saying "Build successful" etc. For some reason these notifica...
Mix
0
90
aligajani aligajani
1

How to make Laravel Valet work nicely with BrowserSync?

Has anyone made Laravel Valet (secure) work nicely with Browser Sync while using Laravel Mix. I am doing something like this but it keeps pointing me to...
Mix
1
170
mtctonyhkhk2010 mtctonyhkhk2010
4

Is it possible to use Laravel Mix with Vuejs 1.0?

I have a legacy project that have a lot of Vuejs 1.0 code and .vue file in it, which are compiled to production code with Elixir. However, I tried to move on to Mix but the...
Mix
4
373
wagramdeveloper wagramdeveloper
4

Mix, npm run hot, browser crash: Uncaught TypeError: Cannot read property 'call' of undefined

This is Laravel Framework 6.0.3, npm version 6.9.0, Fedora 29, webpack [email protected] Following the Laravel Mix documentation I added...
Mix
4
2916
getvma getvma
17

Versioning with Mix, manifest does not exist. {but.... it does!)

Env: Windows 10 running Wamp, php 7.0.14 Side note: versioning with elixir worked in this environment. So the helpers.php refers to mix-manifest.json, so i ch...
Mix
17
1949
trogne trogne
3

hot module reloading without having to change links

When I use hot module reloading with laravel, like with npm run hmr, I have to change my script links, like replacing <script src="/js/app.js&quo...
Mix
3
277
Roni Roni
5

Does Mix Have Any Commands for Brotli Compression?

Just reading the tailwindcss docs, now that v 1.0 is out, and they refer to brotli compression. Is there a setting in laravel mix that enables brotli compression? Does anyo...
Mix
5
1088
jadsondantas jadsondantas
1

Doubtful when using laravel mix

Hello, I have a problem using the laravel mix. I'll try to explain. I import my js. / *      IMPORT / ` require ('./ general');...
Mix
1
213
Create a New Discussion Button