Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Update to LitElement v3.0.0-pre.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonrd committed Nov 25, 2020
1 parent c6f4576 commit 9516ad5
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 14 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ Note: If you need to add static files to the build, like the `images` folder or
1. Create the new page component (extending from `PageElement` helper) in the `pages` folder. For example a `page-explore.ts`.

```typescript
import { html, customElement } from 'lit-element';
import { html } from 'lit-element';
import { customElement } from 'lit-element/lib/decorators';

import { PageElement } from '../helpers/page-element';

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"dependencies": {
"@vaadin/router": "^1.7.2",
"lit-element": "^2.4.0",
"lit-element": "^3.0.0-pre.1",
"pwa-helper-components": "^0.2.10",
"tslib": "^2.0.3"
},
Expand Down
3 changes: 2 additions & 1 deletion src/components/app-index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

import { LitElement, html, css, customElement, query } from 'lit-element';
import { LitElement, html, css } from 'lit-element';
import { customElement, query } from 'lit-element/lib/decorators';

import { config } from '../config';
import { attachRouter, urlForName } from '../router';
Expand Down
3 changes: 2 additions & 1 deletion src/helpers/page-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

import { LitElement, internalProperty } from 'lit-element';
import { LitElement } from 'lit-element';
import { internalProperty } from 'lit-element/lib/decorators';
import type { PropertyValues } from 'lit-element';
import type { Route, RouterLocation } from '@vaadin/router';

Expand Down
3 changes: 2 additions & 1 deletion src/pages/page-about.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

import { html, css, customElement } from 'lit-element';
import { html, css } from 'lit-element';
import { customElement } from 'lit-element/lib/decorators';

import { PageElement } from '../helpers/page-element';

Expand Down
3 changes: 2 additions & 1 deletion src/pages/page-home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

import { html, css, customElement } from 'lit-element';
import { html, css } from 'lit-element';
import { customElement } from 'lit-element/lib/decorators';

import { PageElement } from '../helpers/page-element';

Expand Down
3 changes: 2 additions & 1 deletion src/pages/page-not-found.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/

import { html, css, customElement } from 'lit-element';
import { html, css } from 'lit-element';
import { customElement } from 'lit-element/lib/decorators';

import { urlForName } from '../router';

Expand Down

0 comments on commit 9516ad5

Please sign in to comment.