Development Options
Options for vue-pack
's development server.
Using webpack-dev-server under the hood.
TIP
For alias, it'll use alias
from Configuration.
entry
Required
Type: string
Path to entry file for development.
define
Type: { [key: string]: any }
Define global constants which can be configured at compile time by webpack's DefinePlugin.
TIP
Each value in define
is stringified by default.
TIP
These constants are defined only in development server.
It will not be included in production bundle.
port
Type: number
Default: 8080
Port of development server.
open
Type: boolean
Default: true
Open in browser when server run.
htmlTitle
Type: string
Default: 'Vue Library'
Title of development page.