Skip to content

自带搜索工具不能搜索到中文内容的md #2243

Closed
@taojunnan

Description

@taojunnan
  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

有两个md,一个是英文内容,一个是中文内容

What is expected?

md中有中文也能搜索

What is actually happening?

英文的能被搜索到,中文的不能被搜索到

Other relevant information

config.js

module.exports = {
  title: '标题',
  description: '测试项目',
  base: '/vuepress/',
  configureWebpack: {
    resolve: {
      alias: {
        '@alias': './assets/'
      }
    }
  },
  dest: './dist',
  themeConfig: {
    nav: [
      { text: 'Home', link: '/' },
      { text: 'Blog', link: '/blog/' },
      { text: 'About', link: '/about/' },
    ],
    sidebar: [
      {
        title: 'Blog',
        collapsable: false,
        children: [
          '/blog/',
          '/blog/first'
        ]
      }
    ],
    sidebarDepth: 3
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions