abpframework / abpframework/abp

Create a new `script` section for heading area

Open
#8,463 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature priority:normal ui-mvc
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

Currently, @section scripts will be rendered in the end of body.

Sometimes, 3rd party libraries requires to locate their js files before the body, (in the head)

We may create a new section like scripts_head and we can render it in the head.

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.

Research direction

Start by locating the implementation of the @section scripts rendering and the layout's head and body sections. Add support for a separate scripts_head section that renders in the head while preserving the existing body rendering, then verify both section behaviors in the relevant tests or sample application.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.