laravel-mix Questions

3

Solved

I'm trying to install the vue on the laravel. I believe I got it, but when I run the npm run watch or npm run dev, it generates this error. I've tried several things and I can't solve Error: [VueLo...

2

Solved

I have built a browser addon using Vuejs and used Laravel Mix as my build process. All of my vue templates are in single file components, and everything works absolutely fine...Until I remove 'uns...
Serena asked 6/11, 2017 at 14:26

18

Solved

I'm trying to run npm run dev for Laravel Mix and I get this error: > @ dev D:\projects\ptcs > cross-env NODE_ENV=development webpack --progress --hide-modules -- config=node_modules/laravel...
Lathrop asked 11/7, 2017 at 12:25

2

Solved

after I installed vue.js on my laravel project and running npm run dev this error comes out.
Vittle asked 3/2, 2022 at 10:39

14

I've tried to install Font Awesome using Laravel Mix but when executing run npm dev I get the following message: ERROR Failed to compile with 1 errors error in ./~/font-awesome/scss/font-awesom...
Ma asked 17/4, 2017 at 12:28

2

Solved

I have installed the Fullcalendar library packages using npm. npm i --save @fullcalendar/core @fullcalendar/interaction @fullcalendar/daygrid @fullcalendar/timegrid @fullcalendar/list @fullcale...
Faller asked 14/10, 2020 at 19:16

2

Solved

Solution: Thanks to both Karl & Ali I can now use alias' without having to create a seperate webpack.config.js file. Just add the alias to webpack.mix.js like so: const mix = require('laravel-m...
Satyr asked 22/2, 2022 at 17:8

6

Solved

I'm using laravel-mix which is built on the top of the webpack. I'm facing a problem with fonts directory. For Example, font-awesome package has a scss file and a font directory where all fonts are...
Hitormiss asked 14/6, 2018 at 15:9

1

Solved

By default node_modules folder is under the root directory of my Laravel project and it's working fine. I can compile the scripts with npm run dev and there is no error. However according to the pr...
Croup asked 26/1, 2022 at 5:2

10

Solved

I would like to use inline js in my less files but I get the following message: Inline JavaScript is not enabled. Is it set in your options? How can I enable that?
Narcoanalysis asked 13/10, 2017 at 11:38

3

Solved

I want to use Webpack chunks with Laravel Mix. At the moment this list is outputted: Asset Size Chunks Chunk Names /entry-point.js 3.37 MiB /entry-point [emitted] /entry-point 0.js 57.9 KiB 0 [...
Triglyceride asked 14/5, 2019 at 11:10

2

Solved

So I am having an issue with ES6, Webpack and VUE JS in IE 11. This works in Edge, Chrome, Safari and Firefox, but not IE 11. The error: SCRIPT1002: Syntax error vue.js (16,8498) Ok, so whats a...
Sorosis asked 18/10, 2018 at 20:11

4

Solved

I am getting this error on my Vue 3 project: You are running the esm-bundler build of Vue. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean liter...
Gemology asked 13/2, 2021 at 20:26

2

Solved

I am trying to run the command npm run dev or npm run production. But none of them are successful. Once I run the command I am getting an error like in image : error after running npm run prod My p...
Returnable asked 31/1, 2021 at 6:51

3

Solved

Background: I added TypeScript support to my existing project, so I added ts-loader and typescript. I think, I configured everything right and it is working fine in dev and prod mode. I would like ...

5

I install bootstrap using npm and use scss to import it but when I try to compile,It just show endless warnings npm install bootstrap app.scss file @import "~bootstrap/scss/bootstrap"; ...
Voter asked 21/5, 2021 at 16:25

0

This is using Docker. It works when using wsl2 but when using hyper-v I'm getting the issue. I'm trying to run mix watch -- --watch-options-poll=3000 or mix --production but every time I'm running ...
Nympholepsy asked 7/10, 2021 at 8:4

2

Solved

As I understand, the following commands should install Bootstrap, jQuery, and popper.js: composer require laravel/ui php artisan ui bootstrap npm install && npm run dev After running these...
Canoness asked 29/9, 2021 at 22:16

1

Solved

Is there some way to pass parameters to the laravel mix via the command line and get them in the webpack.mix.js file? For example, I added the line frontend-dev, but I can't get the "foo"...
Coston asked 2/8, 2021 at 20:35

5

Solved

I struggle using Laravel Mix and DataTables. The issue I have is that when I compile down my .js-files etc., each time I would then visit a page that would execute a jQuery datatable, the follwoing...
Fathometer asked 21/10, 2017 at 23:39

1

Solved

I recently tried to run npm run dev and also npm run watch, but I got an error after 80% got compiled. I tried googling it but didn't find the solution to it. Below is the error which I get in my c...
Braw asked 21/7, 2021 at 12:58

1

Solved

I want to install Tailwind in Laravel 8. I've followed the documentation and typed the following (showed no error). npm install -D tailwindcss@latest postcss@latest autoprefixer@latest Then I coul...
Gentile asked 6/6, 2021 at 8:49

2

Solved

I have problems with URL Processing in Laravel mix. here is my app.css @import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; /*---------- import LightGalle...
Beleaguer asked 19/2, 2021 at 19:16

2

Solved

I use the following command to bundle my scripts via the Laravel Mix module: npm run dev // Compile scripts. npm run prod // Compile and minify scripts. Are these native npm commands or custom La...
Microbiology asked 16/10, 2020 at 22:8

2

I am trying to import my app.scss into my application.vue but I keep getting the error that the alias sass is not recognized. I looked online on how to add the alias to my mix file and I have the f...
Hoover asked 20/1, 2020 at 16:40

© 2022 - 2024 — McMap. All rights reserved.