当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
29 Star 18 Fork 236

openGauss/blog
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
.注意openGauss社区已经正式迁移至 Gitcode 平台
app
.vitepress
en/blogs
zh/blogs
vite.config.js
deploy/nginx
opendesign
.eslintrc.js
.gitignore
.npmrc
.prettierrc.json
Dockerfile
LICENSE.md
README.md
env.d.ts
package.json
pnpm-lock.yaml
tsconfig.json
克隆/下载
vite.config.js 733 Bytes
一键复制 编辑 原始数据 按行查看 历史
import path from 'path';
import { defineConfig } from 'vitepress';
import vueJsx from '@vitejs/plugin-vue-jsx';
import Icons from 'unplugin-icons/vite';
import { FileSystemIconLoader } from 'unplugin-icons/loaders';
export default defineConfig({
build: {},
publicDir: path.resolve(__dirname, './.vitepress/public'),
resolve: {
alias: {
'@/': `${path.resolve(__dirname, './.vitepress/src')}/`,
},
},
css: {
preprocessorOptions: {
scss: {
charset: false,
},
},
},
plugins: [
vueJsx({}),
Icons({
compiler: 'vue3',
customCollections: {
app: FileSystemIconLoader(path.resolve(__dirname, './.vitepress/src/assets/svg-icons')),
},
}),
],
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opengauss/blog.git
git@gitee.com:opengauss/blog.git
opengauss
blog
blog
v2

搜索帮助