Skip to content

Commit

Permalink
fix(example): 🔥 remove unnecessary configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiyanYunyi committed Oct 3, 2024
1 parent 3a21f1a commit 3d5ddef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

```typescript
// docs/.vitepress/config.ts
import genConfig from '@project-trans/vitepress-theme-project-trans/config'
import type { SidebarOptions } from '@project-trans/vitepress-theme-project-trans/theme'
import type { ThemeContext } from '@project-trans/vitepress-theme-project-trans/utils'
import genConfig from '@project-trans/vitepress-theme-project-trans/config'
import { withThemeContext } from '@project-trans/vitepress-theme-project-trans/utils'

const themeConfig: ThemeContext = {
Expand Down
10 changes: 0 additions & 10 deletions example/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ export default defineConfig({
shortcuts: [
['btn', 'px-4 py-1 rounded inline-flex justify-center gap-2 text-white leading-30px children:mya !no-underline cursor-pointer disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],
],
content: {
pipeline: {
include: [
// Default match pattern of UnoCSS
/\.(vue|svelte|[jt]sx|mdx?|astro|elm|php|phtml|html)($|\?)/,
// Match suggestion-box
/.*pjts-suggestion-box.*\.js/,
],
},
},
presets: [
presetUno({
dark: 'class',
Expand Down

0 comments on commit 3d5ddef

Please sign in to comment.