Splitting vue/js components

I've got an app where the javascript is getting a bit out of hand (~3mb so far and there's a lot more of the app to go). Most of the JS i...
04

How to change default webpack.mix path?

Mix1 day ago by Yugi
I am really frustrated about this issue, I am just trying to run npm run dev but laravel-mix is trying to read the webpack.mix file from '/ho...
02

How can I combine all the JavaScript my application needs into one file, app.js?

I have been thinking and searching all day for this problem. app.js is the only javascript file that I need for my application...
01

Can you compile sass with sass-json-vars

I have a .json file i need to @import into my SASS to control color schemes. I know with SASS you...
01

Watch not working with .babel

Hi, I have tried to get this working, when using .js to compile, the watch script works fine. If I use .babel watch doesn't work ? Any ideas Thanks...
00

Import fontawesome css from node_modules

I installed fontawesome with the npm command, and I want to use the css files from node_modules Do I import it into the app.js or the app.sc...
01

Mix at production

So i'm just about ready to deploy my app, files and everything is on the prod server, running 'npm run prod' However, it doesn't seem to make much...
04

problem with mix

Hi so I am working on an existing Laravel project and trying to integrate Vue to it. It had this code in its webpack.mix.file before:...
02

Mix compiling assets to the wrong directory after modifying the file structure of Laravel

Hello, Due to limitations in my hosting service, I had to change the folder structure of my Laravel application. The current structure is as...
00

SASS @import 'http://....'

I am using Laravel Mix to compile down Assets outside Laravel. But within my assets/scss/app.scss SCSS file, I...
00

Route is not loading in addressbar

this is my code: public function valuepass(Request $request) { $person_type = $_GET['person_type']; $company_id = $_GET[...
10

Make Laravel Mix resolve JavaScript file references

I'm using a javaScript module that references some files that comes with this module in a css directory. My question is, is it possible to make Lar...
02

Laravel Mix/Webpack isn't resolving my fonts dependencies.

I'm trying to bundling some assets with Laravel Mix but i seems like webpack is not resolving the font files referenced in my assets. I'm missing a...
01

Does something change if I chain instead of start another command?

Sorry for absolutely strange title. My English is bad, suggest me a new title. My questions is if does something changes beetween this two f...
03

Single-file components: Failed to mount component: template or render function not defined.

Hi, I've trying to migrate from elixir to mix in my Laravel 5.3 project. What I've done so far: Rewri...
02

Laravel Mix + Vue-Loader 15

I am having some difficulties configuring my webpack config correctly in Laravel Mix to use Vue-Loader 15. I have spent the past 15 hours trying to...
00

npm run prod

Hi, Have a "standard" Laravel app that run npm run prod when I do a release. So my workflow is Dev: Macbook running...
02

[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...
26

Usage of 'require' in js source files

Hi folks Noob question incoming.... Am I correct in thinking that require('myfile') is handled entirely differently simply based on w...
02

Issue with mix install on centos 6

Once I finished in my local(Windows) everything is working as expected, but when I try to do npm install in the server with non-root user it's thro...
07