Some checks are pending
		
		
	
	Check / lint (push) Waiting to run
				
			Check / typecheck (push) Waiting to run
				
			Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
				
			Check / build (build, 18.x, windows-latest) (push) Waiting to run
				
			Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
				
			Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
				
			Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
				
			Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run
				
			
		
			
				
	
	
		
			27 lines
		
	
	
		
			556 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			556 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { defineConfig } from 'unocss'
 | |
| import {theme} from './src/config/theme/index'
 | |
| import { presetUni } from '@uni-helper/unocss-preset-uni'
 | |
| 
 | |
| export default defineConfig({
 | |
|   presets: [
 | |
|     presetUni()
 | |
|   ],
 | |
|   theme: {
 | |
|     colors: {
 | |
|       primary: theme.colors.primary
 | |
|     }
 | |
|   },
 | |
|   // tmui 组件库的类名和unocss有冲突 这里排除一下
 | |
|   content: {
 | |
|     pipeline: {
 | |
|       exclude: [
 | |
|         // 排除某个文件夹
 | |
|         'src/uni_modules/tmui/**/*'
 | |
|       ]
 | |
|     }
 | |
|   },
 | |
|   shortcuts: {
 | |
|     'flex-center': 'flex justify-center items-center'
 | |
|   }
 | |
| })
 |