i have the following webpack.mix.js:  const { mix } = require('laravel-mix'); mix.scripts([     'resources/assets/js/app.js',     'resources/assets/js/definers.js',     'resources/assets/js/tab_system.js',     'res...
In my Laravel project I use both SASS and CSS: SASS used for dependencies (fontawesome, Bootstrap) - via NPM and plain CSS across deep folder structure (BEM). I want to concatenate all CSS, compile SASS and concatenate it all in a single .css file. S...
I use laravel-mix (including webpack) to bundle JS files. Using BundleAnalyzerPlugin I found that my output file includes more than one copy of JQuery lib which boosts the output file size.  It seams several modules includes JQuery by themselves.   A...
So I have this component   import React from 'react'; import ReactDOM from 'react-dom';  import NeoHeader from './header/NeoHeader'; import NeoLoginModal from './modal/NeoLoginModal';  class Neo extends React.Component...
Suppose I have 100+ components that are used in different laravel blade file. I have a service-based system where different types of users can access different routes. Suppose administrator panel for us, admin panel for institution, employee panel, s...
I use Laravel 5.4 with Vue.js 2.6. I have problem to see sourceMap of *.vue component file in console. I configure Laravel mix with this script:  let mix = require('laravel-mix');  mix.webpackConfig({     devtool: 'eval-source-map' })...
I'm using Laravel 5.4 and Mix to build my CSS/JS files.  Here is my full webpack.mix.js file :  mix     .webpackConfig({output: {filename: '[name].js', chunkFilename: 'js/[name].[chunkhash].app.js', publicPath: '/'}})...
i am developing a multipage web application using Laravel and VueJs. resources are compiled using Laravel-mix (webpack wrapper)  i am lazy loading components in vuejs route   {     path: "/auth",     component: () => import(/* webpackChunk...
I have a laravel application and on that config the laravel mix like below  const mix = require('laravel-mix');  mix.react('resources/assets/js/app.js', 'public/assets/js')    .react('resources/assets/js/pages/treatments_p...
I'm using CKEditor 5 in a Laravel project, getting it from a CDN, so initially I have not needed to run npm. But now I need an alignment plugin, so I used Laravel Mix to run npm install, and then copy the plugin to public folder. Like this:  mix....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.