Replies: 1 comment 4 replies
-
|
Please create a repro, we can't help otherwise |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I'm building a blog-only site with docusaurus and followed the instructions here: https://docusaurus.io/docs/blog (under blog-only mode). I removed the
index.jsunder./src/pages/index.js.However, when I try to run the dev server, it gives a warning about duplicate routes at
/that could lead to non-deterministic routing behavior. The site will build properly, but will have nothing on the site and all links are broken.If I do a local build with
npm run build andnpm run serve`, the site will work properly (but I'll still get the same warning).I'm not sure where the issue could be as my
src/pages/folder is totally empty. I also deleted the docs folder.This is what my config and presets look like:
const config = { title: "Blog", tagline: 'tbd', url: 'https://www.google.com', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', favicon: 'img/favicon.ico',presets: [ [ '@docusaurus/preset-classic', { docs: false, blog: { id: 'blog', routeBasePath: '/', showReadingTime: true, blogSidebarTitle: "All Posts", blogSidebarCount: "ALL" }, theme: { customCss: require.resolve('./src/css/custom.css'), }, }, ], ],Any help would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions