neeonline neeonline
1

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
1
20
fredemagi fredemagi
0

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
0
23
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
23
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
36
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
32
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
45
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
24
martyf martyf
7

Base64 inline images in CSS with Mix

I'm new to Laravel and have been exploring Mix (and how it can best work for me) - so new to webpack too. In reading about webpack, I read that it can base64-encode...
Mix
7
187

Tailwind css not generated

I've installed the tailwind css package, and added this to the webpack.mix.js file mix.postCss('resources/assets/css/main.css', 'public/css', [ tailwindc...
Mix
2
129
justnorris justnorris
1

[Laravel Mix] How to disable sourcemaps in production?

I want to disable and cleanup any leftover source-maps for production. Any ideas how to do that?...
Mix
1
137
murilo murilo
2

NPM run - is not rendering a JS file properly

Hello GUYS , I have been all day trying with many ways to solve a problem . I have a project that I created inside XAMP Host ( in my machine , windows ) , then I started wo...
Mix
2
95
abhishekamol abhishekamol
5

Uploading file from one server to another

Hi, Please tell me how to upload image file from one server to another via php sftp....
Mix
5
157
kisaw88 kisaw88
3

my css code is getting overriten

hello, now i'am using laravel mix and i'am writing css in sass files , i have tested it and tried it with npm run watch , but now my css file is getting overriten by anothe...
Mix
3
150
deepu07 deepu07
1

Deploying existing laravel in aws linux

Hello guys, I have one quick question "Im trying to deploy existing laravel website into aws ec2. everything went well after some trails. but somehow I',m getting this...
Mix
1
85
entriol entriol
1

Deploying Laravel Mix to Heroku

I successfully deployed Laravel to Heroku. Added buildpacks in this order. === app Buildpack URLs 1. heroku/nodejs 2. heroku/php And also in...
Mix
1
303
huddo huddo
2

Laravel with Amazon SQS

When a job is dispatched by a code base. Is it executed by the server that is running the queue listener or by the code base that dispatched the job? I am using Amazon SQS...
Mix
2
106
DanNeon DanNeon
0

JS errors after upgrade to Laravel 5.6 and switch from Gulp to Mix

Hi, I've recently upgraded to Laravel 5.6 as I need to use Passport, and taken the opportunity to switch from Gulp to Laravel-mix. npm run dev is working fine...
Mix
0
55
nolros nolros
0

Webpack.mix First Render (Critical Rendering Path) Config

Anyone have a best practice or ideally an example for compiling for first paint (Critical Rendering Path) i.e. I would like to compile the core JS and Sass. So that I can m...
Mix
0
58
twg_ twg_
1

Additional Scripts

Hi. I have a large project I'm working on and inside this project I'm developing two sites. They share a lot of similarities but also have unique features for each....
Mix
1
126
poldixd poldixd
6

Path's in stylesheets to images folder

Hello, i worked alwase with GruntJs. Now i switching to 5.4 and Laravel Mix. Here are my files. webpack.mix.js: mix.js('resources/assets/js/app...
Mix
6
1532
ardf16 ardf16
1

Library Code Splitting with two entry points

I need some help with following scenario: mix .js('resources/assets/js/front/admin_app.js', 'public/js') .js('resources/assets/js/front/user_app.js', 'public...
Mix
1
73
deansatch deansatch
11

Bootstrap 4 scss with autoprefixer missing -ms-flex-wrap

I have a new project using bootstrap 4 scss. I have autoprefixer running in my webpack.mix.js: mix.react("resources/js/app.js", "public/js&qu...
Mix
11
177
dave100 dave100
0

Laravel Mix calling Recalculate Style

Hi All, I've got a strange issue where Recalculate Style is being called by something that Laravel mix does. If I remove Mix and manually load all my JS my si...
Mix
0
50
JoshMountain JoshMountain
28

[5.4] npm run watch not working

Using 5.4 and mix, when I run npm run watch it compiles once and looks like it is waiting for changes, but when I make changes to any of my asset files it does...
Mix
28
4541
FascistDonut FascistDonut
1

Laravel Mix rule.loader problem after migrating site to new server

I created a new server and want to migrate my existing laravel application to it. I got the database cloned and I used git to clone the source files. I ran co...
Mix
1
90
mazedul mazedul
10

The Mix manifest does not exist when using orchestral/testbench

Creating a custom Laravel package using the orchestral/testbench package that helps package developer to help with PHPUnit test. So, my package on a different place and not...
Mix
10
178
Indemnity83 Indemnity83
4

Unknown plugin "transform-object-rest-spread"

First off, maybe my search-fu isn't up to par or I don't have a good enough understanding of the issue to apply solutions found elsewhere, but I did search for this answer...
Mix
4
274
raziel79 raziel79
0

aws-s3-zipper aws-sdk mix compiling error

Hi all, i have installed aws-s3-zipper and aws-sdk whe compiling get this warnings: WARNING in ./node_modules/natives/index.js 50:17-28 Critical depen...
Mix
0
55
ivang ivang
1

mix options to not uglify some functions

Hi guys, I'm trying to switch off via mix.options the renaming of some specific functions, but when I run a 'npm run prod' the final js is always minified (ok, I need this)...
Mix
1
183
JakariaBlaine JakariaBlaine
7

How to turn off "build sucess" notifications from Laravel Mix?

I am using Laravel 5.4. I want to turn off the notifications from Laravel Mix. How can I do that?...
Mix
7
2110
benmcm1994 benmcm1994
5

Compiling multiple Scss files to multiple Css outputs

I'm currently developing a site with white labeling functionality and need multiple CSS files in order to select the styling for each white label. The problem is that Larav...
Mix
5
138
Equinoxxx Equinoxxx
10

Semantic UI Integration

Hello, I would like to use Semantic UI with my Laravel App (5.4) instead of using default Bootstrap. As I know Semantic UI is using LESS and recommended installation is via...
Mix
10
1924
martijnvreeken martijnvreeken
2

Ziggy trough webpack

Hi, I'm not an experienced JS dev. I know my way around the basics. We use TightenCo Ziggy on a project with a lot or named routes. This results in @rout...
Mix
2
136
iqhash iqhash
3

splitting code for a project that only uses vue on several pages

Hello everyone, I'm currently doing front-end optimization for a project and I'm stuck with code splitting.. basically what I'm trying to achieve is splitting...
Mix
3
152
Sirik Sirik
1

amCharts4 with Laravel 5 and Webpack install

My app.js includes import * as am4core from "@amcharts/amcharts4/core"; import * as am4charts from "@amcharts/amcharts4/charts"; import a...
Mix
1
172
Create a New Discussion Button