
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
laravel-elixir-vue-2
Advanced tools
Laravel Elixir 6 support for Vue 2.0
This package provides Webpack support for compiling Vue 2.0 .vue files in your Laravel Elixir 6 projects. Please note that, if using Laravel Elixir 5 or below, you don't want this package.
Usage is identical to laravel-elixir-vue:
npm install laravel-elixir-vue-2 --save-dev
var elixir = require('laravel-elixir')
require('laravel-elixir-vue-2')
elixir(function(mix) {
mix.webpack('app.js'); // resources/assets/js/app.js
})
From Elixir's docs:
If you'd like to leverage more of Webpack's functionality, Elixir will read any webpack.config.js file that is in your project root and factor its configuration into the build process.
For example, to make Vue use sass-loader for <style lang="scss">:
// webpack.config.js
module.exports = {
vue: {
loaders: {
js: 'buble-loader',
scss: 'vue-style-loader!css-loader!sass-loader'
}
}
}
The Object spread operator requires Object.assign to be available. Make sure to polyfill it if you target browsers that don't support it yet.
FAQs
'Laravel Elixir Vue 2.0 Integration'
The npm package laravel-elixir-vue-2 receives a total of 129 weekly downloads. As such, laravel-elixir-vue-2 popularity was classified as not popular.
We found that laravel-elixir-vue-2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.