Skip to content

Commit 8b2518d

Browse files
committed
update readme
1 parent 4b79471 commit 8b2518d

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# <date-time> element
22

3-
A custom element that displays date and time.
3+
A custom element that displays a date and time.
44

55
## Installation
6-
Available on [npm](https://www.npmjs.com/) as [**@github/custom-element-element**](https://www.npmjs.com/package/@github/custom-element-element).
6+
Available on [npm](https://www.npmjs.com/) as [**@architrixs/date-time-element**](https://www.npmjs.com/package/@architrixs/date-time-element).
77
```
8-
$ npm install --save @github/custom-element-element
8+
$ npm install --save @architrixs/date-time-element
99
```
1010

1111
## Usage
@@ -15,22 +15,13 @@ $ npm install --save @github/custom-element-element
1515
Import as ES modules:
1616

1717
```js
18-
import '@github/custom-element-element'
18+
import '@architrixs/date-time-element'
1919
```
2020

2121
Include with a script tag:
2222

2323
```html
24-
<script type="module" src="./node_modules/@github/custom-element-element/dist/index.js">
25-
```
26-
27-
An example Custom Element. This documentation ends up in the
28-
README so describe how this elements works here.
29-
30-
You can event add examples on the element is used with Markdown.
31-
32-
```
33-
<custom-element></custom-element>
24+
<script type="module" src="./node_modules/@architrixs/date-time-element/dist/date-time.js">
3425
```
3526
3627
## Browser support

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@architrixs/date-time-element",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "A custom element that displays a date and time.",
55
"main": "dist/src/date-time.js",
66
"module": "dist/src/date-time.js",

vscode.css-custom-data.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": 1.1,
3+
"properties": [],
4+
"pseudoElements": []
5+
}

0 commit comments

Comments
 (0)