Torch Torch
12

Mix is compiling to empty js file

Laravel Mix Version: 4.0.7 Node Version 10.15.1 NPM Version 6.9.0 OS: Win 10 + Homestead Hello, I have a problem on windows (homestead virtual, winnfsd plugin...
Mix
12
96
successdav successdav
1

Npm run watch displays error after compiling then stops watching

It compiles up untill 95 percent then displays DONE Compiled successfully in 32854ms 3:57:42 AM Asset Size Chun...
Mix
1
29
ryssbowh ryssbowh
0

mix and module architecture

Hi all, Looking for advices for a problem I've been having for quite some time now, hope somebody can share some lights on this : I'm trying to build an appli...
Mix
0
20
joaorbrandao joaorbrandao
1

Fail to build amcharts 4 using laravel-mix

Hi, I'm trying to import Amcharts 4 into my project but i got the following problem in my terminal. I followed the installation that is in the amcharts....
Mix
1
119
gidaban79 gidaban79
2

Moment package add some javascript in my css file

Hello guys "moment": "^2.24.0", "vue": "^2.6.10", "laravel-mix": "^4.0.16"...
Mix
2
67
Albyzai Albyzai
1

React component specific styling

Hey, I am using React with Laravel and I am looking for a way to write component specific scss. What i am envisioning is the following project structure:...
Mix
1
91
bsholdice bsholdice
1

laravel-mix & blade syntax needed to use JS package

I want to use https://github.com/fnando/sparkline in a new 5.8 project. I kept g...
Mix
1
59
connecteev connecteev
1

Configuring postcss-uncss for Laravel Mix

I am trying to remove unused css rules from one sass file. Research led me to postcss-uncss as the best option for removing unused css if you do not use server-side...
Mix
1
81
gewode gewode
3

In Laravel mix, how to configure to process css font path in specific directory

Inside my Laravel project, in webpack.mix.js, I have used this: mix.js('resources/themes/tailwind/js/app.js', 'public/themes/tailwind/js') ....
Mix
3
127
Moenchfracht Moenchfracht
4

Mix and mdbootstrap

Hi. I try to add mdbootstrap to my laravel project using laravel mix. Can someone show me how to do it please? I also opened up a support case at...
Mix
4
101
Okkult Okkult
0

Handle specific Create/Read/Update permissions with Spatie

Hello, I'm trying to use the following view for updating a certain user or role's permissions in my web application:...
Mix
0
41
giviz giviz
6

ReferenceError: $ is not defined using Mix

Hi guys, I've spend a couple of hours trying to figure out why I get this error when I'm trying to use jQuery: Uncaught ReferenceError: $ is not defin...
Mix
6
2206
MikeA MikeA
1

Correct way to use Mix for jQuery?

See how someone excellently set out the (common) issue, albeit some time ago:...
Mix
1
122
MikeA MikeA
7

Laracast server problems?

Sunday. UK. Ideal time to refresh brain with Laracast dump. It's not there though,* run away, refuses to play. This is like a fruuustration pill. Laravel Mix. Can yo...
Mix
7
242
lambooni lambooni
4

Compiling Javascript Page Scripts

Most of my project uses Vue modules, that are compiled with mix/webpack and then included within the page. I have a few areas that are still using jquery/vanialla an...
Mix
4
122
ainsley_clark ainsley_clark
0

Minify & Compile Page Specific Scripts

Hi all, I currently have some page specific scripts using @push and yielding them in my main app view like so: Page view:...
Mix
0
52
Justs Justs
1

Why is my page content different when I return to it by clicking the back button on my browser?

I'm creating a web page with laravel and the main menu pages contents are loaded with ajax. The problem is when I go back to the previous page with the back button of the b...
Mix
1
90
gjm gjm
1

Using mix with an apache alias

Hi. I have configured my app to be available under an alias (http://localhost/myapp)....
Mix
1
147
devk devk
4

Different output files with different configs

What's the best way to compile 2 JS files that require different configs? Namely, my server config requires some additional config options from my regular frontend config....
Mix
4
158
RaymondE RaymondE
1

Webmix | all files in folder in single outputs

Hi there, i've been searching on google but i cant find the solution i'm looking for. My app will run on the http/2 protocol, so i would like to have multiple...
Mix
1
100
markotitel markotitel
0

Getting Object in the place of ENV var at build time.

Hello. This is part of the code of the js file which is being compiled. window.Echo = new Echo({ broadcaster: 'socket.io', host: window.location.host...
Mix
0
58
andyjh07 andyjh07
0

Laravel Mix IE11 Babel Issues

I'm currently trying to install Laravel Mix inside a WordPress project to handle my asset compilation. I have my webpack.mix.js file set up as follows:...
Mix
0
93
ahoi ahoi
0

Webpack chunk names with Laravel mix

I'd like to use Webpack chunks with Laravel Mix. At the moment this list is outputted: Asset Size...
Mix
0
88
Roni Roni
2

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
2
142
samleserieux samleserieux
0

Birdboard : patch project error.response

Hi all, I just finished the course "Build A Laravel App With TDD", i try to implement a modal for editing a project, i reused the code we made during the lesson 4...
Mix
0
55
dan3460 dan3460
1

Error on scss file from Bootstrap

I'm building a quick landing page for a web site. I grabbed a sample landing page and implemented it on the site. This landing page uses a _variable.scss that is coming wit...
Mix
1
122
fredemagi fredemagi
3

Transpile CKEditor to ES5 using Webpack/Laravel mix

In order to get CKEditor to work on previous versions of Safari in iOS 10, I was recommended to transpile CKEditor to ES5 using their guide:...
Mix
3
247
realtebo realtebo
2

Is there a way to optimize css?

My goal is to 'simply' remove duplicated rules from final css for example, including bootstrap.scss and then overriding it ca cause to have 2...
Mix
2
170
agent90 agent90
8

Compressing high resolution images!

Hello! I'm trying to compress 3 very high resolution images, because it is causing a huge load problem in my site. I discovered gulp-imagemin library, but it can onl...
Mix
8
348
neeonline neeonline
6

Hot Reload (Vue) with Valet (SSL)

I can't figure out how to make the browser sync/hot reload to work with Valet. I'm using https Valet domains, I tried everything... This is my mix config:...
Mix
6
242
Dev0ps Dev0ps
1

how to get current path using jquery

URL: http://127.0.0.1:8000/home/?page=photos I need only this part /home...
Mix
1
164
xtremer360 xtremer360
2

Theme Assets To Compile With Mix

I have just recently purchased a new theme to brand with my application and I am trying to consider the best way to go about storing the assets that are needed to make the...
Mix
2
217
thebigk thebigk
0

Strange Laravel Mix / Webpack Behavior

Since last ~4 hours, I'm facing a strange issue and I'm not sure about its origin. Here's what's happening - Out of nowhere, when I run npm run dev, Mix...
Mix
0
91
christopher christopher
1

Laravel Mix font path is wrong

I am using Laravel Mix as a standalone version. So - I am copying all my files from a src folder to dist: mix.js('src/javascript/ap...
Mix
1
170
mehedi mehedi
0

Laravel Mix Hot Module Replacement Not Working

Hi ! I am facing some problem about laravel mix hot module replacement. Everything is good as it is. But when I update my vue file then error occurred on browser co...
Mix
0
86
Create a New Discussion Button