fix(v2): use docusaurus v2 as peer dependency (#1319)

This commit is contained in:
Yangshun Tay 2019-03-29 06:11:02 -07:00 committed by GitHub
parent 76596f0956
commit b31d502684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 13 additions and 7 deletions

View file

@ -25,8 +25,8 @@ const DEFAULT_OPTIONS = {
routeBasePath: 'blog', // URL Route.
include: ['*.md, *.mdx'], // Extensions to include.
pageCount: 10, // How many entries per page.
blogPageComponent: path.resolve(__dirname, './components/BlogPage'),
blogPostComponent: path.resolve(__dirname, './components/BlogPost'),
blogPageComponent: '@theme/BlogPage',
blogPostComponent: '@theme/BlogPost',
};
const TRUNCATE_MARKER = /<!--\s*truncate\s*-->/;