vue-cli-plugin-browser-sync

A Vue Cli 3 plugin for BrowserSync with no required configuration
1,621 5
Install
npm install vue-cli-plugin-browser-sync
Latest Version:1.0.0-rc5
License:MIT
Last Updated:Apr 24, 2019
Links: GitHub  ·  npm
Maintainer: diogosalazar

Vue CLI Plugin Browser Sync

A Vue Cli 3 plugin for BrowserSync with no required configuration that uses Browser Sync with webpack-dev-middleware and webpack-hot-middleware.

Install

Open a terminal in the directory of your app created with Vue-CLI 3.

Then, install vue-cli-plugin-browser-sync by running:

vue add browser-sync

That's It! You're ready to go!

Starting a development server

If you use Yarn (strongly recommended):

yarn serve:bs

or if you use NPM:

npm run serve:bs

BrowserSync Configuration

To see avalible options, check out Browsersync options

Configuration options can be specified via the optional vue.config.js file in the pluginOptions.browserSync property.

// vue.config.js
module.exports = {
  pluginOptions: {
    browserSync: {
      // ... BrowserSync options
    }
  }
};

Related Packages

vue-cli-plugin-moment

moment.js plugin for vue-cli

28,960 15
@urbanhire.com/vuesable

Vuesable is urbanhire vue component.

877
vue-cli-plugin-nid

这是宁皓网内部项目使用的一个 Vue CLI 插件,在使用了 TypeScript 的 Vue 项目里,可...

778 0

Version History

Pre-releases (3)
Version Released License
1.0.0-rc5 MIT
1.0.0-rc3 MIT
1.0.0-rc2 MIT