Socket
Socket
Sign inDemoInstall

@vusion/vue-loader

Package Overview
Dependencies
159
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @vusion/vue-loader

Vue single-file component loader for Webpack


Version published
Weekly downloads
4
increased by300%
Maintainers
4
Created
Weekly downloads
 

Readme

Source

@vusion/vue-loader

This is a fork of vue-loader with some modifications for handling Vusion Components. Sync to vue-loader@13.5.0

Modifications

lib/loader.js

  • Change Object.defineProperty to Object.assign for __vueOptions__
  • Add midLoaders option
  • Keep cssModules always exist
  • Delete Component.options._Ctor
  • Remove _[index] in query.localIdentName to make different <style> tags in same situation

lib/normalize.js

  • Change dep path

Others

  • Forge AST when using server mode

Origins

vue-loader

Vue.js component loader for Webpack.

The best way to get started is with vue-cli:

npm install -g vue-cli
vue init webpack-simple hello
cd hello
npm install
npm run dev

This will setup a basic Webpack + vue-loader project for you, with *.vue files and hot-reloading working out of the box!

For advanced vue-loader configuration, checkout the documentation.

Keywords

FAQs

Last updated on 05 Jun 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc