SolomonRei SolomonRei
1

React issue (css-loader)

Goodnight! I've never implemented react in laravel. I've got any issues and don't know how resolve them. App.js require('./bootstrap'); import './App....
Mix
1
169
Albyzai Albyzai
3

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
3
1255
felloz felloz
0

creative-tim: Argon - Graphics dont work with mix

Hello, im installing Argon dashboard to test, but graphics stops working when I use id="app" in the main content. The Template works with vue because...
Mix
0
29
sharpdev sharpdev
2

Compiling Vue 3 with mix

This is soon as is it was only released yesterday https://github.c...
Mix
2
87
Kuzuto Kuzuto
4

Laravel8 with Fontawesome

Installed Laravel 8 with Jetstream. Trying to add Fontawesome to the project, but I can’t get it to accept the @import fontawesome in the app.css f...
Mix
4
145
ChristianPav ChristianPav
4

Can I publish JS library with laravel-mix?

Is there a way to use laravel-mix to publish a library to npm? It seems like I can't have a index.js file export a few files and have that be used in an npm package....
Mix
4
121
hasanhatem hasanhatem
1

when i required Selectize js in Laravel mix it get me error is not a function

Hello guys. I use laravel mix. and i install Selectize.js with npm. and i have selectize folder in node_modules/selectize i re...
Mix
1
70
nmeri17 nmeri17
0

Is it possible to combine extract with css preprocessing?

I'm on webpack version 4 and trying to achieve 2 things: 1) separate my packages into main.js, vendor.js, and manifest.js 2) compile my sass and less files correctly into c...
Mix
0
59
ahoi ahoi
0

SCRIPT5022: Exception thrown and not caught when using laravel-mix with polyfill

I am using Vuejs for my web project. As there are some users out there who are still using IE11, I need to make this web project compatible. Currently I am getting t...
Mix
0
81
Ashraam Ashraam
13

AlpineJS and Laravel Mix

Hi everyone, I've got some trouble using alpine JS and Laravel Mix, and someone here will probably help me to understand and fix this I'm using AlpineJS in my...
Ashraam replied
Solved
Mix
13
277
unsoft unsoft
0

Laravel-Mix repeatedly downloads assets?

When using Laravel-Mix the webpack-extract.js file continuously downloads the assets (all JS and CSS) files over and over again without end. It actually locks...
Mix
0
62
mtctonyhkhk2010 mtctonyhkhk2010
5

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
5
1024
thebigk thebigk
1

Laravel 8 and TailwindCSS Purge Option

Can someone show me how to use the TailwindCSS purge option; available in the tailwind.config.js file, along with laravel mix so that I can minimize the CSS fi...
Mix
1
151
nuna nuna
2

How to position nicely data from foreach loop?

<header> <address> <p>hello/p> <p>hello/p> <p>hello,</p> <p>hello</p> <p>hello&l...
nuna replied
Solved
Mix
2
142
Serefei Serefei
4

Running `npm install` Throws `ENOTFOUND registry.npmjs.org`

I'm trying to implement Laravel mix on my current project. However, upon running npm install it gives me this error npm ERR! code ENOTFOUND npm...
Mix
4
175
JoshMountain JoshMountain
32

[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
32
14828
engamoktar engamoktar
5

Problem with google fonts

Hello, I'm having a problem with importing google fonts in app.scss here is my import line from google fonts: @import url('https:...
Mix
5
163
gymdone gymdone
2

TypeError: text.forEach is not a function

This just started happening ... ~/STGdev/lvvn $ npm run watch > @ watch /home/gymdo/STGdev/lvvn > npm run development -- --watch > @ development...
Mix
2
1908
wxcaptain wxcaptain
0

service worker - cache name looks different

I just started using laravel mix to generate a service worker file. I noticed that the query string on the application cache name is different than the query string on the...
Mix
0
85
entriol entriol
5

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
5
2995
sohail49 sohail49
3

Js File get Complie But No working

Hi I am using laravel mix to compile my sass and js the Scss work fine but js get to compile and do not work here is my webpack file code let mix = require('laravel-...
Mix
3
274
eugenevdm eugenevdm
5

Can one use both Tailwind and Bootstrap 4 at the same time?

I am trying to ease myself into Tailwind. My Laravel UI is currently Vuejs which seems to use Bootstrap 4 CSS as well. I was h...
Mix
5
2819
sergiz sergiz
5

Multiple JS files per page

Hello. I'm not sure how to handle the following situation using Laravel Mix/Webpack. Let's say my app has some JS code that is needed in every page (that extends lay...
sergiz replied
Solved
Mix
5
172
TomKeyte TomKeyte
2

Help using css modules with Laravel 5.4 mix, 'the dependency was not found issue'

I'm trying to configure a laravel/react project to use css module, similar to what is used here:...
Mix
2
758
Beingsk Beingsk
4

bootstrap

i want to use twitter Boostrap in my project and im new to Laravel web development....shall i use Laravel mix or just use it with bootstrap cdn..Which one will be better...
Mix
4
204
nuna nuna
3

How to do a success popup if the validateFormAdd is true?

$(document).ready( function(){ $('.brand-form-validation').on('click', function(e) { e.preventDefault(); validateFormAdd('add_brand').done...
Mix
3
199
asolopovas asolopovas
3

RangeError: Maximum call stack size exceeded, npm run dev

Hi, I am getting an error when I run npm run dev: npm run dev > @ dev /var/www/api > npm run development > @ development /var/w...
Mix
3
1583
skeith22 skeith22
3

Date for when Laravel Mix would official release a version with Webpack 5 fully supported?

I was wondering if anyone knows when is the release date of Mix with full support for Webpack v5, because until now the extract(['vue']) is still producing...
Mix
3
230
madprabh madprabh
2

How to ensure new app.js is downloaded by browser

Hey Folks, I have a rather basic question. So I use npm to build my application and to deploy it on the production server. Obviously it creates app.js that bu...
Mix
2
173
fen fen
1

set up webpack in laravel/vue

Hi, I made a project with vue-cli, and to create svg sprite I set up in vue.config.js like this: chainWebpack(config) { // set svg-sprite...
Mix
1
168
kiyana76 kiyana76
2

import html file from node_module

hello every one...i have html file that is in file in node_module i link in to html file with this : <link rel="import" href="node_modules/we...
Mix
2
187
CrushCandy CrushCandy
5

Webpack .init wow.js as a require ?

Learning webpack with no where else to turn to, the script needs to run new Wow().init (); on the dom, I have used npm to pull the package and require ('wowjs'...
Mix
5
1617
DLUK44 DLUK44
2

How to load Popper.js for use by Bootstrap 4?

I have a Laravel 5.5 project that uses Bootstrap 4. This is all working expect for things that need Popper.js For example, the tooltop here just shows the HTML, it d...
Mix
2
267
cristimocean cristimocean
6

Mix documentation wrong/outdated ?

The docs say "The version method will automatically append a unique hash to the filenames" and that I should use the mix helper to detect file names () but that...
Mix
6
288
tihoti tihoti
4

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
4
1068
Create a New Discussion Button