Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed Jul 2, 2023
1 parent 72704a3 commit 8a7733c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import EnhanceLog from 'vite-plugin-enhance-log'

const config = defineConfig({
plugins: [

// 如果用vue, 请确保 vuePlugin 在 log plugin 之前
EnhanceLog({
splitBy: '\n',
preTip: '🐖🐖🐖🐖🐖🐖🐖🐖🐖🐖',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import EnhanceLog from 'vite-plugin-enhance-log'

const config = defineConfig({
plugins: [

// if you use vue, ensure the vuePlugin before the log plugin
EnhanceLog({
splitBy: '\n',
preTip: '🐖🐖🐖🐖🐖🐖🐖🐖🐖🐖',
Expand Down
3 changes: 2 additions & 1 deletion playgrounds/react/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import Inspect from 'vite-plugin-inspect'
import EnhanceLog from 'vite-plugin-enhance-log'
import EnhanceLog from '../../src'

// https://vitejs.dev/config/
export default defineConfig({
Expand All @@ -14,6 +14,7 @@ export default defineConfig({
enableDir: false,
},
}),

Inspect(),
],
})
8 changes: 2 additions & 6 deletions playgrounds/vue/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
"vite-plugin-enhance-log"
],
"paths": {
"~/*": ["src/*"]
}
"vite/client"
]
},
"exclude": ["dist", "node_modules"]
}

0 comments on commit 8a7733c

Please sign in to comment.