ChromeExtensionTemplate
This is a simple Chrome extension template project in Visual Studio Code. It does not contain any refrences to 3rd party components and frameworks. The project is intended as a basic starting point for a Chrome extension if you are going to develop iot in Visual Studio.
How to use the project
You can use the solution and its project directly and start adding code and references.
Or, you can create a template for Visual Studio 2019 using it. To do that, build it
and copy the ChromeExtensionTemplate.zip
file from the dist
folder into your
%USERPROFILE%\Documents\Visual Studio 2019\Templates\ProjectTemplates
folder.
From then on, you will have the Chrome Extension Template as an option in
New Project dialog.
Start using the template
After you create a new project using the template, you need to:
- Change the
manifest.json
file. - Add your business logic to popup.html, popup.js, and baackground.js.
- Add more files as needed.
- To run the extension
- Open Chrome and navigate to chrome://extensions,
- Enable
Developer mode
, - Click
Load Unpacked
and point to the folder with the manifest file.
History
For changes in this project, check the Commits tab on GitHub.
Contribute
Check out the contribution guidelines if you want to contribute to this project.
For cloning and building this project yourself, make sure ...
License
This software is provided under a MIT License
Notes
This project uses ideas from Mads Kristensen's template for Visual Studio 2015. Thank you, Mads!