diff --git a/packages/@vue/cli-service/lib/commands/serve.js b/packages/@vue/cli-service/lib/commands/serve.js index de91699fce..4af2b4e9a8 100644 --- a/packages/@vue/cli-service/lib/commands/serve.js +++ b/packages/@vue/cli-service/lib/commands/serve.js @@ -75,7 +75,7 @@ module.exports = (api, options) => { validateWebpackConfig(webpackConfig, api, options) // load user devServer options with higher priority than devServer - // in webpck config + // in webpack config const projectDevServerOptions = Object.assign( webpackConfig.devServer || {}, options.devServer @@ -129,7 +129,7 @@ module.exports = (api, options) => { // explicitly configured via devServer.public ? `?${publicUrl}/sockjs-node` : isInContainer - // can't infer public netowrk url if inside a container... + // can't infer public network url if inside a container... // use client-side inference (note this would break with non-root publicPath) ? `` // otherwise infer the url diff --git a/packages/@vue/cli/lib/GeneratorAPI.js b/packages/@vue/cli/lib/GeneratorAPI.js index 6aad56bd00..b4c5152f98 100644 --- a/packages/@vue/cli/lib/GeneratorAPI.js +++ b/packages/@vue/cli/lib/GeneratorAPI.js @@ -426,7 +426,7 @@ function renderFile (name, data, ejsOptions) { ) // use ejs.render to test the conditional expression - // if evaluated to falsy vaule, return early to avoid extra cost for extend expression + // if evaluated to falsy value, return early to avoid extra cost for extend expression const result = ejs.render(finalTemplate, data, ejsOptions) if (!result) { return diff --git a/packages/@vue/cli/lib/upgrade.js b/packages/@vue/cli/lib/upgrade.js index 270704fc52..1ced5dd729 100644 --- a/packages/@vue/cli/lib/upgrade.js +++ b/packages/@vue/cli/lib/upgrade.js @@ -205,7 +205,7 @@ class Upgrader { } async checkForUpdates () { - logWithSpinner('Gathering pacakage information...') + logWithSpinner('Gathering package information...') const upgradable = await this.getUpgradable() stopSpinner()