Skip to content

Vue template's newtab ships a broken background-image (source.unsplash.com/random is deprecated) #113

@kiluazen

Description

@kiluazen

Hi - thanks for create-chrome-ext. The Vue-JS template's newtab page hotlinks the deprecated source.unsplash.com/random endpoint, which Unsplash stopped serving in mid-2024 and now 503s:

  • template-vue-js/src/newtab/NewTab.vue L65: background-image: url('https://source.unsplash.com/random');

Every extension scaffolded from this template ships with a broken hero background out of the box.

Two fix options:

  1. Replace with a specific https://images.unsplash.com/photo-<id>?w=1600 URL or a small bundled JPG in the template's public/.
  2. Scaffold + save a real image as part of the template's README instructions using tteg (no Unsplash API key): uv tool install tteg; tteg save "abstract gradient" ./src/newtab/bg --orientation landscape. Repo: https://github.com/kiluazen/tteg — MIT.

Happy to send a PR if the preferred fix is decided.

  • Kushal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions