nuxt-modules / nuxt-modules/partytown

support csp

Open
#178 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
355
Forks
11
Avg merge
2h 14m
Merged PRs (30d)
15

Description

Hi ✋
We are using CSP in our Nuxt project and use it to block executing inline scripts.
But this module is injecting inline scripts to the head causing bugs.

Do you have an idea what can I do or how much time takes to update the module?use plugins instead of inline scripts.

Contributor guide

No contributing guide indexed for this repository

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

No file, test, or entry point is named. Start by tracing where the Nuxt module injects inline scripts into the head and how that conflicts with the project's CSP. The work is done when the module uses plugins instead of inline scripts and works with CSP enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.