Nomiiya / DailySummary

3 stars 0 forks source link

Application Able to show on new tab #5

Closed Nomiiya closed 1 year ago

Nomiiya commented 1 year ago

Having a bug where when the webpack code is added for the app it still doesn't show on browser on the development branch.

Nomiiya commented 1 year ago

Working on the issue and I was able to resolve this halfway. I am now able to see the next.js app as a small plugin on the top right.

Here is what was needed:

Then you run into an issue that in the Out folder the _next folder name is a saved name by chrome so run this:

Then load the Out file to chrome

Nomiiya commented 1 year ago

Removing the plugin action in the manifest json and adding the following solved the issue:

"chrome_url_overrides": {
      "newtab": "index.html"
 }

Instead of an action for the plugin, this forces the Chrome new tab to be open the custom html that is exported by next.