question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better development workflow

See original GitHub issue

Is your feature request related to a problem? Please describe. So, I’ve been playing with extensions for a while, but this is the first template that has core features like hot reloading working - thanks!

However, developing popups is still very cumbersome. They reload as soon as saved, and the inspector keeps unloading when you save, though I’ve seen in Firefox that you can force it show.

Nonetheless, you still can’t seem to use Vue devtools, even with Vue.config.devtools = true.

Describe the solution you’d like We’ve started to think about building some kind of development sandbox, where we would run popup and options apps directly in the browser, and maybe mock the web extension API objects / calls we need. This way, we’re not constantly fighting with the extension framework as we just try to build UI, stores, etc.

Then, I figured, maybe someone has done this, so let’s look at the Vue Devtools, and sure enough, they have done some of this:

Check the “Hacking” section.

Their solution runs a webpack dev server of the devtools app in the browser window itself, so you can build the extension as if building a straight vue extension, at http://localhost:8100.

They don’t seem to have mocked the extensions API, but they have aa top section where they fire calls at the dev tools.

Perhaps, some kind of tool belt for extension background scripts etc could be developed that does something similar? Not sure if this would be in-page or perhaps using iframes.

Describe alternatives you’ve considered See above

Additional context I’d be happy to help work on this, maybe as a separate project.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Kocalcommented, Oct 23, 2018

I wrote a wiki page about development behavior: https://github.com/Kocal/vue-web-extension/wiki/1.-Development-workflow @davestewart WDYT?

1reaction
davestewartcommented, Oct 17, 2018

I think all this info would make a great start to a GitHub Wiki 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Tips to Optimize Your Development Workflow - Perforce
3 Tips to Optimize Your Development Workflow · Go Agile and Make Your Process More Visible · Enforce Peer Code Reviews · Continuously...
Read more >
What Are the Top Development Workflow Tools? - CloudBees
This post offers a round-up of the top tools that improve the workflow of software development teams.
Read more >
Software Development Workflow Optimization - SCAND
Check out software development workflow best practices and how to optimize it effectively to reduce budget expenses and development time.
Read more >
How to Improve and Automate Your Web Development Workflow
In this article, you will learn a few web development workflows that can help you develop, test, build, and deploy faster. Browser Console...
Read more >
Why Development Workflow is Critical for Microservices
Development workflow is the process by which your organization develops software. A typical development workflow starts with product definition, and then moves ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found