Fixing a couple typos in the docs (#55)
This commit is contained in:
@@ -56,7 +56,7 @@ There is a development HTML file located at `/dev/index.html` that you can view
|
|||||||
|
|
||||||
## Editing
|
## Editing
|
||||||
|
|
||||||
If you use VS Code, we highly reccomend the [lit-plugin extension](https://marketplace.visualstudio.com/items?itemName=runem.lit-plugin), which enables some extremely useful features for lit-html templates:
|
If you use VS Code, we highly recommend the [lit-plugin extension](https://marketplace.visualstudio.com/items?itemName=runem.lit-plugin), which enables some extremely useful features for lit-html templates:
|
||||||
|
|
||||||
- Syntax highlighting
|
- Syntax highlighting
|
||||||
- Type-checking
|
- Type-checking
|
||||||
@@ -66,7 +66,7 @@ If you use VS Code, we highly reccomend the [lit-plugin extension](https://marke
|
|||||||
- Linting
|
- Linting
|
||||||
- Quick Fixes
|
- Quick Fixes
|
||||||
|
|
||||||
The project is setup to reccomend lit-plugin to VS Code users if they don't already have it installed.
|
The project is setup to recommend lit-plugin to VS Code users if they don't already have it installed.
|
||||||
|
|
||||||
## Linting
|
## Linting
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ npm run lint
|
|||||||
|
|
||||||
[Prettier](https://prettier.io/) is used for code formatting. It has been pre-configured according to the Polymer Project's style. You can change this in `.prettierrc.json`.
|
[Prettier](https://prettier.io/) is used for code formatting. It has been pre-configured according to the Polymer Project's style. You can change this in `.prettierrc.json`.
|
||||||
|
|
||||||
Prettier has not been configured to run when commiting files, but this can be added with Husky and and `pretty-quick`. See the [prettier.io](https://prettier.io/) site for instructions.
|
Prettier has not been configured to run when committing files, but this can be added with Husky and and `pretty-quick`. See the [prettier.io](https://prettier.io/) site for instructions.
|
||||||
|
|
||||||
## Static Site
|
## Static Site
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ npm i my-element
|
|||||||
|
|
||||||
npm CDNs like [unpkg.com]() can directly serve files that have been published to npm. This works great for standard JavaScript modules that the browser can load natively.
|
npm CDNs like [unpkg.com]() can directly serve files that have been published to npm. This works great for standard JavaScript modules that the browser can load natively.
|
||||||
|
|
||||||
For this element to work from unpkg.com specifically, you need to include the `?module` query parameter, which tells unpkg.com to rewrite "bare" module specificers to full URLs.
|
For this element to work from unpkg.com specifically, you need to include the `?module` query parameter, which tells unpkg.com to rewrite "bare" module specifiers to full URLs.
|
||||||
|
|
||||||
### HTML
|
### HTML
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user