From d941e35a610f82a7e43773a6bf879de8a21e17eb Mon Sep 17 00:00:00 2001 From: Justineo Date: Wed, 24 Jul 2024 16:03:33 +0800 Subject: [PATCH] docs: update csp usage docs --- CHANGELOG.md | 1 + README.md | 2 +- README.zh-Hans.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ddaf6cc..27a2a70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Dropped support for Vue < 2.7. * Dropped CJS outputs. * Dropped extra wrapper element so that you should no longer set `padding` on the component root. +* For strict CSP usage, `vue-echarts/csp` should now be used as the entry point and `vue-echarts/csp/style.css` should be included manually. ## 6.7.3 diff --git a/README.md b/README.md index 32604c6..f3ced13 100644 --- a/README.md +++ b/README.md @@ -459,7 +459,7 @@ Static methods can be accessed from [`echarts` itself](https://echarts.apache.or ## CSP: `style-src` or `style-src-elem` -If you are applying a CSP to prevent inline `