// import fs from 'fs' // import path from 'path' // import { vpRoot } from '@element-plus/build-utils' // import { languages } from '../utils/lang' import type { HeadConfig } from 'vitepress' export const head: HeadConfig[] = [ [ 'link', { rel: 'icon', href: '/images/element-plus-logo-small.svg', type: 'image/svg+xm', }, ], [ 'link', { rel: 'apple-touch-icon', href: '/apple-touch-icon.png', sizes: '180x180', }, ], [ 'link', { rel: 'mask-icon', href: '/safari-pinned-tab.svg', color: '#5bbad5', }, ], [ 'meta', { name: 'theme-color', content: '#ffffff', }, ], [ 'meta', { name: 'msapplication-TileColor', content: '#409eff', }, ], [ 'meta', { name: 'msapplication-config', content: '/browserconfig.xml', }, ], ] // head.push([ // 'script', // {}, // fs.readFileSync(path.resolve(vpRoot, 'dark-mode.js'), 'utf-8'), // ])