Skip to content

Commit

Permalink
docs: update missing rename (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonghakseo authored Jul 20, 2024
1 parent 26e4c87 commit 246a90a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/shared/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To use the code in the package, you need to add the following to the package.jso
```json
{
"dependencies": {
"@chrome-extension-boilerplate/shared": "workspace:*"
"@extension/shared": "workspace:*"
}
}
```
10 changes: 5 additions & 5 deletions packages/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add the following to the dependencies in `package.json`.
```json
{
"dependencies": {
"@chrome-extension-boilerplate/ui": "workspace:*"
"@extension/ui": "workspace:*"
}
}
```
Expand All @@ -29,8 +29,8 @@ pnpm install
Add the following to the `tailwind.config.js` file.

```js
const baseConfig = require('@chrome-extension-boilerplate/tailwindcss-config');
const { withUI } = require('@chrome-extension-boilerplate/ui');
const baseConfig = require('@extension/tailwindcss-config');
const { withUI } = require('@extension/ui');

/** @type {import('tailwindcss').Config} */
module.exports = withUI({
Expand All @@ -42,7 +42,7 @@ module.exports = withUI({
Add the following to the `index.tsx` file.

```tsx
import '@chrome-extension-boilerplate/ui/dist/global.css';
import '@extension/ui/dist/global.css';
```

## Add Component
Expand Down Expand Up @@ -81,7 +81,7 @@ export function Button({ theme, className, children, ...props }: ButtonProps) {
## Usage

```tsx
import { Button } from '@chrome-extension-boilerplate/ui';
import { Button } from '@extension/ui';

export default function ToggleButton() {
const [theme, setTheme] = useState<'light' | 'dark'>('light');
Expand Down

0 comments on commit 246a90a

Please sign in to comment.