pascoli.html
pascoli.html
and add the following code. Make sure this file gets included in your final build (/dist) directory.
If you followed the initial webpack config setup, you can simply add this file to the public
directory as pascoli.html
src
attribute of the script tag to point to the correct location of your pascoli.js
file in the final buildpascoli.js
pascoli.js
and add the following code. Ensure this file gets included in your final build (/dist) directory.
If you followed the initial webpack config setup, you can simply add this file to the entry
object in your webpack config.
pascoli.html
and pascoli.js
files.
Add the following to your webpack config to ensure pascoli.js
is included in the build:
pascoli.html
should be included in your build directory as well automatically if you followed the initial webpack config setup and added it to the public
directory.
pascoli.html
file to your manifest.json
as web_accessible_resources:
pascoli.tsx
in your tabs
directory. If you don’t have a tabs
directory, create one. More info on tabs
in the Plasmo framework can be found here. Add the following code to the pascoli.tsx
file:
package.json
file:
initContentScript
method in the content script to include the correct path to the Pascoli file: