PaulMarshall PaulMarshall
7

Getting Mix to compile node_modules file

We're using https://github.com/RobinCK/vue-popper via npm install vue-popperjs...
Mix
7
54
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
33
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
100
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
46
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
45
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
103
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
31
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
61
memele memele
7

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
7
98
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
166
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
2046
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
1175
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
86
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
824
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
73
JoshMountain JoshMountain
29

[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
29
3862
Teleogrid Teleogrid
2

Use Laravel mix to build for two differently configured targets - web (browser) and server (node)

Hi everyone, I'm trying to compile javascript bundles for two different environments (server and browser version) simutaniously. But it looks like that with mix it i...
Mix
2
93
Aronaman Aronaman
3

blade error

i am in this directorate resources\views/Admin/org/index.blade.php i am try to include in my blade file (org/index.blade.php)...
Mix
3
82
probably_joe probably_joe
9

Mix cannot find dependencies for app.js and app.scss

I am trying to follow along with the "Laravel Mix and the Front-end" episode. I had a few hiccups with some modules, but I think that I have resolved those. Now...
Mix
9
1632
trogne trogne
6

mix and hmr

How do I use the "npm run hmr" script ? When I run it I get this : i 「wds」: Project is running at http://localhost:8080/ i 「wds」: we...
Mix
6
97
trogne trogne
0
Mix
0
77
Tachi Tachi
6

Mix not processing scss files

I have freshly installed node, and laravel 5.4.5. Then i ran npm install. After that i'm trying to run npm run dev, and I have next error: ERROR Failed to c...
Mix
6
244
EmilMoe EmilMoe
4

Unable to install node-sass in Laravel 5.2

I keep getting different errors, it seems to be related to node-sass It's especially this one > [email protected] install /var/www/proj...
Mix
4
219
joshpj1 joshpj1
0

Testing vue components with mocha-webpack resolution issue

I am using vuejs in Laravel 5.7 to build an SPA. I am using mocha-webpack and vue-test-utils to write some vue component tests. The tests can't seem to work out sty...
Mix
0
487
beng970804 beng970804
6

Laravel Mix

May I know the right way to enable the autoprefixer work on every css which needed to add? My laravel mix autoprefixer only work on some element. For example,...
Mix
6
118
laidbackwebsage laidbackwebsage
8

SOLVED: Laravel-mix Issue: Popper.js dependency cannot be found by Boostrap 4 beta

I am trying to use Bootstrap 4 beta in my project. Bootstrap 4 beta requires Popper.js My package.json, devDependencies looks like this:...
Mix
8
1915
adhik13th adhik13th
3

How to change format data to object in laravel

I have 2 table users and cuti ( in english is PaidLeave) . in table users have a colomn like Users : id , name , email , cuti , etc... Cuti : id...
Mix
3
146
Roni Roni
3

No output from laravel mix

Just started a new default project of laravel with no changes and ran mix, and noticed no output was generated for the CSS file even though there is default CSS included wi...
Mix
3
156
bed bed
2

How to reduce app.js size in laravel-mix

My bootstrap.js just load a lodash. window._ = require('lodash'); My app.js is require('./bootstrap'); window.Vue = require...
Mix
2
522
mazinoukah mazinoukah
4

why is my app.js compiled file so big ?

i just finally completed a project, i have been working on using vue , laravel and elixir, but after running "gulp --production" the file size is about 600kb. wha...
Mix
4
447
robert_k robert_k
1

Copy multiple vendor directories to /public/vendor

Hi! I am trying to copy multiple directories from node_modules into the /public/assets/vendor while maintaining the original folder structure. What I want to achieve is for...
Mix
1
107
prashantpawar35 prashantpawar35
0

How I can pass environment variables to scss/ sass file using laravel mix and webpack?

Hi, How I can pass environment variables to scss/ sass file using laravel mix and webpack? Please refer below link and help me:...
Mix
0
92
thuha2002 thuha2002
0

Có phải casino w88 là uy tín, chất lượng, an toàn và bảo mật nhất Việt Nam?[/b]

Chúng ta cùng Nhận định kỹ càng hơn nhé.[/b] Theo như một vài lời giới thiệu về sự uy tín [url=...
Mix
0
87
wagramdeveloper wagramdeveloper
3

Laravel Mix, Bootstrap Vue, difference between production and dev builds

I have a Vue application in Laravel using Mix to build. My javascript includes a import BootstrapVue from 'bootstrap-vue'; Vue.use(BootstrapVue);...
Mix
3
719
tsuintora tsuintora
8

Laravel mix bootstrap & ckeditor

Hello guys, before you start to read this thread, i must say what my english so bad, but i hope you will understand all of this. Thanks for your time! I have...
Mix
8
1357
Create a New Discussion Button