Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Dec 22, 2023
1 parent d86c951 commit 4bb0f5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ test/
src/
!index.js
!dist/*
*.md
*.md
2 changes: 1 addition & 1 deletion HELP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# TROUBLE SHOOTING

### Class Name Mangling
## Class Name Mangling

To avoid class name mangling issues, we recommend using the second parameter in `Tonic.add` method:

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ A fork of [@socketsupply/tonic](https://github.com/socketsupply/tonic)

Tonic is a low profile component framework for the web. It's one file, less than 3kb gzipped and has no dependencies. It's designed to be used with modern Javascript and is compatible with all modern browsers and built on top of Web Components.

## Installation
## Install

```sh
npm install @nichoth/tonic
```

## Usage
## Use

```js
import Tonic from '@nichoth/tonic'
Expand All @@ -53,11 +53,11 @@ After adding your Javascript to your HTML, you can use your component anywhere.
</html>
```

# Useful links
## Useful links
- [Tonic components](https://github.com/socketsupply/components)
- [Migration from the early versions of Tonic](./MIGRATION.md)
- [API](./API.md)
- [Troubleshooting](./HELP.md)

MIT License


0 comments on commit 4bb0f5a

Please sign in to comment.