Skip to content

Commit

Permalink
feat: 引入 unplugin-turbo-console 优化开发体验
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Jan 12, 2024
1 parent d70d8c5 commit 43d0973
Show file tree
Hide file tree
Showing 4 changed files with 217 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"typescript": "^5.3.3",
"unocss": "^0.58.3",
"unplugin-auto-import": "^0.17.3",
"unplugin-turbo-console": "^1.0.9",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.0.11",
"vite-plugin-banner": "^0.7.1",
Expand Down
210 changes: 209 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vite/plugins/console.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import TurboConsole from 'unplugin-turbo-console/vite'

export default function createConsole() {
return TurboConsole()
}

0 comments on commit 43d0973

Please sign in to comment.