chore: fix the example plugins in the README

This commit is contained in:
Angelos Bouklis
2023-12-18 14:47:18 +02:00
committed by GitHub
parent d6566fb870
commit f564039438

View File

@ -290,9 +290,9 @@ import style from './style.css?inline'; // import style as inline
import { createPlugin } from '@/utils';
const builder = createPlugin({
export default createPlugin({
name: 'Plugin Label',
restartNeeded: true, // if value is true, ytmusic show restart dialog
restartNeeded: true, // if value is true, ytmusic will show a restart dialog
config: {
enabled: false,
}, // your custom config
@ -306,9 +306,9 @@ const builder = createPlugin({
```typescript
import { createPlugin } from '@/utils';
const builder = createPlugin({
export default createPlugin({
name: 'Plugin Label',
restartNeeded: true, // if value is true, ytmusic show restart dialog
restartNeeded: true, // if value is true, ytmusic will show the restart dialog
config: {
enabled: false,
}, // your custom config