Comments (6)
OK perfect, thank you.
from vue-web-extension.
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 () (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.
@Kocal Thank You!
My process is as follows:
- npm run watch:dev (in one terminal window)
- npm run build:dev (another terminal window)
- 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.
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.
You're welcome!
from vue-web-extension.
Hey, due to #334 I wrote some wiki pages, what do you think @VinceG ?
from vue-web-extension.
Related Issues (20)
- executeScript with a file?
- Extension not reloading (webpack-extension-reloader)
- Does it support Vue3 and TypeScript? HOT 1
- 'appendChild' of undefined when adding css
- ENOENT: no such file or directory upon project initialisation HOT 5
- When I run default Vue Chrome Extension, Hello World component is not being rendered HOT 1
- Vuetify stylesheets not added to page in production mode HOT 4
- Error an unexpected error occurred: "https://registry.nlark.com/@types/http-proxy/download/@types/http-proxy-1.17.7.tgz: Request failed \"503 Service Unavailable\"". HOT 2
- support Vuetify HOT 1
- Error running freshly created project HOT 1
- Vuex: `$store` undefined HOT 2
- Running the dev server on a specified port HOT 5
- Is the repository compatible with Manifest V3 HOT 1
- How to use jQuery in background.js
- Cannot fetch
- Cannot serve and build HOT 3
- cannot run serve HOT 1
- Unable to compile or run HOT 6
- Built result will be different when environment change or node_modules be reinstalled HOT 6
- 执行 “npm install -g @vue/cli npm install -g @vue/cli-init vue create --preset kocal/vue-web-extension my-extension” 提示Error resolving webpackConfig TypeError: Cannot read property 'ignore' of undefined .. ....new-tab-page\node_modules\vue-cli-plugin-browser-extension\index.js:129:20 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-web-extension.