Socket
Book a DemoInstallSign in
Socket

@vue/dev-server

Package Overview
Dependencies
Maintainers
14
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/dev-server

**⚠️ Warning: Experimental ⚠️**

latest
npmnpm
Version
0.2.0
Version published
Maintainers
14
Created
Source

vue-dev-server

⚠️ Warning: Experimental ⚠️

npx -p @vue/dev-server vds

How It Works

Imports are requested by the browser as native ES module imports - there's no bundling.

The server intercepts requests to *.vue files, compiles them on the fly, and sends them back as JavaScript.

For libraries that provide ES modules builds that work in browsers, just directly import them from a CDN.

Imports to npm packages inside .js files (package name only) are re-written on the fly to point to locally installed files. Currently, only vue is supported as a special case. Other packages will likely need to be transformed to be exposed as a native browser-targeting ES module.

FAQs

Package last updated on 21 Apr 2020

Did you know?

Socket

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