Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I implement a background.js script? #4

Open
notflip opened this issue Jun 28, 2019 · 4 comments
Open

How can I implement a background.js script? #4

notflip opened this issue Jun 28, 2019 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@notflip
Copy link

notflip commented Jun 28, 2019

How can I include a background script to be parsed? and moved to the dist folder?

Thanks, great plugin so far

@superoo7
Copy link
Owner

superoo7 commented Jul 2, 2019

Sorry for the late reply @notflip

What I did so far is to add in another file in src called background/index.ts in vue.config.js

// push background script
pagesObj.background = {
  entry: `src/background/index.ts`,
};

This project was done over the weekend, but I didn't have time to maintain on this.

@notflip
Copy link
Author

notflip commented Jul 2, 2019

No worries at all! Thanks for having made this.

@superoo7
Copy link
Owner

superoo7 commented Jul 3, 2019

I'll leave this issue open since it's not yet implemented

@superoo7 superoo7 added the help wanted Extra attention is needed label Jul 3, 2019
@nonlinearthink
Copy link

@superoo7 what about Content Scripts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants