sshateri sshateri
2

Error while compiling the multiple imported stylesheet

I've included multiple stylesheets into my app.scss but the laravel mix is giving me a long error which I don't understand. all was working fine when there was only the fir...
Mix
2
37
AtomCoder AtomCoder
1

Webpack SASS Concat

Hi Guys, Only just started using mix recently. I'm trying to concatenate multiple SASS files into a single file, app.css. I'm receiv...
Mix
1
30
engamoktar engamoktar
6

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
6
296
JoeCianflone JoeCianflone
1

Anyone Used Storybook with Mix?

Hi everyone, I'm attempting to use Storybook with my project but I'm running into an error: TypeError: Cannot read property 'rules' of undefined...
Mix
1
35
SeebeckZachary SeebeckZachary
3

Using Laravel Mix with Javascript.

So I'm working on a project that has quite a bit of Javascript. We're wanting to put the Javascript through Laravel Mix for it to be able to minify it as well as use NPM mo...
Mix
3
51
HubertVanD HubertVanD
2

npm error: Failed at the @ development script.

I am starting a new Laravel project with Vue and Vue-router and Tailwind (the Laravel, Vue, and SPA videos form Laracasts). However I keep getting the npm error written in...
Mix
2
59
ahoi ahoi
0

Get versioned string name of font

) I'd like to prefetch the fonts I generated using Tailwindcss. I included the font this way: @layer base { /* lato-300 - latin */...
Mix
0
39
Kuzuto Kuzuto
12

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...
Kuzuto replied
Solved
Mix
12
559
gymdone gymdone
3

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
3
2651
EmilMoe EmilMoe
2

BrowserSync + Valet. Not possible?

I'm trying everything here to make BrowserSync (npm run hot) to work. But no matter what I do the asset URLs are not working at all. I tried to add this...
Mix
2
70
leonidas leonidas
11

popper.js.map - Failed to load resource: the server responded with a status of 404 (Not Found)

After starting to have a look into Laravel Mix, I issued the commands "npm install && npm run dev". I have done nothing el...
Mix
11
24320
JayD JayD
0

URL rewriting CSS in NPM Packages?

Hello there community, It seems that I have some sort of problem to understand how the rewrite url engine works within Laravel Mix when copying assets from a NPM pac...
Mix
0
76
Predje Predje
1

How to split libraries in multiple files across privates packages/components

Hello, I've been trying to split my scripts so I only load what I need for a specific page. I have private composer packages containing reusable code named Core, Back and F...
Mix
1
137
connecteev connecteev
6

How to compact + uglify + strip unused CSS and JS for Production Deploys?

Do any folks have experience with production deploys? I'd like to do the following on production, to discourage people from copying the front end source code, and also to k...
Mix
6
2160
Jammae Jammae
1

Vendor.js for public and admin

I have Laravel 8 installation and i am using Laravel Mix, and this is my problem. I have public site, and i have admin panel. Public and admin both are using Tailwind css...
Mix
1
80
MediaSpectrum MediaSpectrum
2

laravel mix environment variables - workflow?

I can't seem to get a clear picture of how this is supposed to work. i want to compile my JS on 1 machine.. commit it to git and deploy it to an environment. We dep...
Mix
2
116
sam0081 sam0081
0

Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)

Can you please help:- [Browsersync] Watching files... [Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to...
Mix
0
111
gymdone gymdone
0

Mix Notifications under Windows 10 WSL

I'm running Ubuntu 20 under WSL and it works great. One thing missing is the compile notifications. I have a bash script working that calls a PowerShell thingy called Bur...
Mix
0
75
mazedul mazedul
22

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
22
3677
Chancice Chancice
1

How to use Tailwind @apply in sass with laravel 8?

Unsure how to set my laravel mix up so that i can use @apply in my scss file, can anyone help?...
Mix
1
199
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
333
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
1349
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
93
sharpdev sharpdev
2

Compiling Vue 3 with mix

This is soon as is it was only released yesterday https://github.c...
Mix
2
313
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
244
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
186
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
126
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
191
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...
Mix
13
536
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
115
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
1115
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
403
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
242
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
354
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
15730
Create a New Discussion Button