mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-24 02:40:33 +03:00
wrap cdn links in script tags
This commit is contained in:
@@ -105,10 +105,14 @@ Use the links below - if you want a previous version, check the instructions at
|
|||||||
|
|
||||||
<!-- start CDN generator - do **NOT** remove this comment -->
|
<!-- start CDN generator - do **NOT** remove this comment -->
|
||||||
**Uncompressed:**
|
**Uncompressed:**
|
||||||
> https://unpkg.com/vue-meta@0.0.0/lib/vue-meta.js
|
```html
|
||||||
|
<script src="https://unpkg.com/vue-meta@0.0.0/lib/vue-meta.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
**Minified:**
|
**Minified:**
|
||||||
> https://unpkg.com/vue-meta@0.0.0/lib/vue-meta.min.js
|
```html
|
||||||
|
<script src="https://unpkg.com/vue-meta@0.0.0/lib/vue-meta.min.js"></script>
|
||||||
|
```
|
||||||
<!-- end CDN generator - do **NOT** remove this comment -->
|
<!-- end CDN generator - do **NOT** remove this comment -->
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
|
|||||||
@@ -13,10 +13,14 @@ const content = readFileSync(readmePath, 'utf-8')
|
|||||||
const update = `
|
const update = `
|
||||||
<!-- start CDN generator - do **NOT** remove this comment -->
|
<!-- start CDN generator - do **NOT** remove this comment -->
|
||||||
**Uncompressed:**
|
**Uncompressed:**
|
||||||
> ${cdnUrl}
|
\`\`\`html
|
||||||
|
<script src="${cdnUrl}"></script>
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
**Minified:**
|
**Minified:**
|
||||||
> ${minifiedUrl}
|
\`\`\`html
|
||||||
|
<script src="${minifiedUrl}"></script>
|
||||||
|
\`\`\`
|
||||||
<!-- end CDN generator - do **NOT** remove this comment -->
|
<!-- end CDN generator - do **NOT** remove this comment -->
|
||||||
`.trim().replace(/ {2}/gm, '')
|
`.trim().replace(/ {2}/gm, '')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user