1 Star 0 Fork 2

答神/ant-design-pro-site

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gatsby-config.js 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
陈帅 提交于 2019-12-08 01:18 . chore: update site config
module.exports = {
siteMetadata: {
title: 'ANT DESIGN PRO',
description: 'Out-of-box UI solution for enterprise applications',
author: 'Ant Design',
siteUrl: 'https://pro.ant.design',
},
plugins: [
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-72788897-5',
},
},
'gatsby-plugin-netlify',
{
resolve: 'gatsby-plugin-manifest',
options: {
name: 'Ant Design Pro',
short_name: 'Ant Design Pro Doc',
display: 'standalone',
start_url: './?utm_source=homescreen',
theme_color: '#002140',
background_color: '#001529',
icon: 'src/images/favicon.png',
},
},
{
resolve: 'gatsby-plugin-less',
options: {
javascriptEnabled: true,
},
},
'gatsby-plugin-typescript',
{
resolve: 'gatsby-plugin-antd',
options: {
style: true,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: '/docs',
path: `${__dirname}/docs/`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: '/blog',
path: `${__dirname}/blog/`,
},
},
{
resolve: 'gatsby-transformer-remark',
options: {
plugins: [
'gatsby-remark-header-custom-ids',
'gatsby-remark-img-warpper-p',
{
resolve: 'gatsby-remark-prismjs',
options: {
noInlineHighlight: true,
},
},
],
},
},
'gatsby-plugin-sitemap',
],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/xunzhaotech/ant-design-pro-site.git
[email protected]:xunzhaotech/ant-design-pro-site.git
xunzhaotech
ant-design-pro-site
ant-design-pro-site
master

搜索帮助