From 883a8a520a574bd0d1cd7e8b05444a9eea52d6f8 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 21 Jul 2018 22:33:47 +0200 Subject: [PATCH 1/3] Break up long paragraphs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index cb323be..fd897dc 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,15 @@ Browser extension development plugin for vue-cli 3.x ## What does it do? This is intended to be a vue-cli@3.x replacement for [https://github.com/Kocal/vue-web-extension](https://github.com/Kocal/vue-web-extension). + This plugin adds a new command `ext-serve` to your vue applications. This new command is only for running a livereload server while testing out your browser extension. + This removes the entrypoint of `main.js`, and as such will not scaffold a general vue app. That behavior might change when support for a standalone tab application exists, but for now it is gone. + Packaging and deploying will still be done with `yarn build` and zipping in up for chrome, firefox, or whichever other browser you wish to develop for. + It makes some assumptions about your project setup. I hope to be able to scaffold an app so that itentifying the below in unnecessary. @@ -46,8 +50,10 @@ This can be added to your vuejs project by one of the following methods: ## Usage Running the Livereload server. This will build and write to the local `dist` directory. + This plugin will respect the `outputDir` setting, however it cannot read into passed CLI args, so if you require a custom output dir, be sure to add it in your `vue.config.js` file. You can then add this as an unpacked plugin to your browser, and will continue to update as you make changes. + **NOTE:** you cannot get HMR support in the popup window, however, closing and reopening will refresh your content. ```sh From 3838246566f0d6ab8e4309158e1b47b0a8f53665 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 21 Jul 2018 22:36:31 +0200 Subject: [PATCH 2/3] =?UTF-8?q?Fix=20=C2=AB=20identifying=20=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fd897dc..082dc82 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ That behavior might change when support for a standalone tab application exists, Packaging and deploying will still be done with `yarn build` and zipping in up for chrome, firefox, or whichever other browser you wish to develop for. It makes some assumptions about your project setup. -I hope to be able to scaffold an app so that itentifying the below in unnecessary. +I hope to be able to scaffold an app so that identifying the below in unnecessary. ``` |- src/ From 3c94a476f24653144a7a9de39796b2fffd17d9bb Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sat, 21 Jul 2018 22:36:45 +0200 Subject: [PATCH 3/3] Name browsers correctly --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 082dc82..de3f719 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This new command is only for running a livereload server while testing out your This removes the entrypoint of `main.js`, and as such will not scaffold a general vue app. That behavior might change when support for a standalone tab application exists, but for now it is gone. -Packaging and deploying will still be done with `yarn build` and zipping in up for chrome, firefox, or whichever other browser you wish to develop for. +Packaging and deploying will still be done with `yarn build` and zipping in up for Chrome, Firefox, or whichever other browser you wish to develop for. It makes some assumptions about your project setup. I hope to be able to scaffold an app so that identifying the below in unnecessary.