Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
DevboiDesigns committed Jan 14, 2025
2 parents 99bcb87 + 3be9f98 commit e01cba4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The `album-viewer` web component fetches and displays albums from a specified [Bandcamp](https://bandcamp.com) artist

![version](https://img.shields.io/badge/v1.0.0-RELEASE-8A2BE2)
![version](https://img.shields.io/badge/v1.0.1-RELEASE-8A2BE2)

---

Expand All @@ -20,6 +20,21 @@ Include the `album-viewer` component in your HTML file:
<script type="module" src="https://cdn.skypack.dev/album-viewer"></script>
```

## Specifying Versions

You can specify the version of the `album-viewer` component using the `@v^1.0.0` format. This allows you to control which version of the component you are using in your project. No version will default to latest.

**Example with Version Specification**

```html
<script
type="module"
src="https://cdn.skypack.dev/album-viewer@v^1.0.0"
></script>
```

Replace `^1.0.0` with the desired version number to use a specific version of the component.

## Usage

Add the `album-viewer` component to your HTML and pass the Bandcamp URL as a property:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "album-viewer",
"private": false,
"version": "1.0.0",
"version": "1.0.1",
"type": "module",
"files": [
"dist",
Expand Down

0 comments on commit e01cba4

Please sign in to comment.