@vdem/vue-cli-plugin-build-server

vue-cli plugin providing build files through the server

Usage no npm install needed!

<script type="module">
  import vdemVueCliPluginBuildServer from 'https://cdn.skypack.dev/@vdem/vue-cli-plugin-build-server';
</script>

README

Vue cli plugin build server

Vue-cli plugin providing build files through the server.

Provide dev server on: localhost:8090/artifact-name:

[
  {
    "name": "http://localhost:8090/artifact/component.umd.min.js"
  }
]

Usage

package.json

"scripts": {
  "dev": "vue-cli-service build:server --dest=/dist --artifact=test"
},

Start build server:

npm run dev

Plugin options

Props Description Default
artifact This name use in path. Example: localhost:{port}/{artifact} -
dest Output directory for build files dist
port Localhost port number 8090