LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vue-build

Build Vue.js applications for production

TLDR

Build for production
$ vue build
copy
Build with custom target
$ vue build --target [lib]
copy
Build specific entry
$ vue build [entry.js]
copy

SYNOPSIS

vue build [options] [entry]

DESCRIPTION

vue build compiles Vue.js applications for production. Creates optimized bundles with minification and tree-shaking. Part of Vue CLI's instant prototyping feature (requires `@vue/cli-service-global`). For standard project builds, use `vue-cli-service build`.

PARAMETERS

--target target

Build target (app, lib, wc).
--name name
Library or component name.
--dest dir
Output directory.
--modern
Build for modern browsers with auto legacy fallback (Vue CLI 4 only, removed in CLI 5).
--no-clean
Do not remove the output directory before building.
--watch
Watch for changes and rebuild automatically.

SEE ALSO

vue(1), vue-serve(1)

Copied to clipboard
Kai