Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyinws committed Nov 1, 2023
1 parent 555c2d6 commit 8c3acf4
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,29 @@ import TurboConsole from "vite-plugin-turbo-console";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [TurboConsole()],
plugins: [TurboConsole({
/* options here */
})],
});
```
**options**
```ts
interface TurboConsoleOptions {
/**
* Add a string prefix to the console log.
*/
prefix?: string
/**
* Add a string suffix to the console log.
*/
suffix?: string
/**
* Whether to disable the launch editor feature.
* default: false
*/
disableLaunchEditor?: boolean
}
```

## ❤️ Credits
Inspired by
Expand Down

0 comments on commit 8c3acf4

Please sign in to comment.