Giter VIP home page Giter VIP logo

Comments (6)

VinceG avatar VinceG commented on May 21, 2024 1

OK perfect, thank you.

from vue-web-extension.

Kocal avatar Kocal commented on May 21, 2024

Hey, thanks for your words 🙂

You're right, actually there is not yet a documented development workflow.

In usage section, the first two commands only build your extension, and the next two commands watch for modifications and then rebuild your extension:

  • If you are in watching production mode (npm run watch), you will need to reload your extension with this button (capture d ecran de 2018-07-12 07-12-55) (chrome://extensions).

  • If you are in watching development mode (npm run watch:dev), the background entry is automatically reloaded (thanks to webpack-chrome-extension-reloader) and so you don't have to reload your extension yourself.

By the way, if you are modifying popup's code, you just need to right-click on your extension icon, then click on Inspect popup, then press ctrl+r to refresh the popup.

from vue-web-extension.

VinceG avatar VinceG commented on May 21, 2024

@Kocal Thank You!

My process is as follows:

  1. npm run watch:dev (in one terminal window)
  2. npm run build:dev (another terminal window)
  3. Then i select Load Unpacked and select the dist folder.

This seems to work.

Is that the correct process for development?

from vue-web-extension.

Kocal avatar Kocal commented on May 21, 2024

As said in usage section:

npm run watch:dev

Watch for modifications then run npm run build:dev.

So the 2nd step of your process is not useful 🙂

from vue-web-extension.

Kocal avatar Kocal commented on May 21, 2024

You're welcome!

from vue-web-extension.

Kocal avatar Kocal commented on May 21, 2024

Hey, due to #334 I wrote some wiki pages, what do you think @VinceG ?

from vue-web-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.