Id content is already used in the server template

Open
#474 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, php
Domain
frontend

Research direction

Start with core/templates/layout.user.php at the linked line and inspect the tutorial's Vue app mounting entry point. Identify the existing content id and the DOM element currently targeted by the app, then verify that the replacement uses a unique id and mounts to the intended element.

Written by the indexing model from the issue text.

Description

https://github.com/nextcloud/server/blob/c10317f7f9f53a4de464915f754896eed7f1ee6c/core/templates/layout.user.php#L125 already makes use of the id content.

Make sure to have a unique id and to replace the correct dom element when mounting the vue app.

Dominant language
JavaScript
Stars
54
Forks
38
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/app-tutorial

All issues in nextcloud/app-tutorial

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.