Git Product home page Git Product logo

lunr-module's People

Contributors

pimlie avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lunr-module's Issues

Where `nuxt.callHook` should be called on?

The guide isn't stating where this code should sit on:

nuxt.callHook('lunr:document', ({ locale: 'af', // optional, default en document, meta // optional })

Can I call it on asyncData? Any Example? thanks

How to access to searchIndex?

I need the ability to call searchIndex.Search outside the search.vue template. Maybe we need to make an Inject for global access to this variable?

how to use w/ dynamic routes

const dynamicRoutes = getDynamicPaths(
{
blog: 'blog/.json',
projects: 'projects/
.json' },

dynamicContentPath);

how do I parse these json files into the searchable index?

Adding database support

Hello does anyone know of a way to add database support like searching with Mysql, Postgres, Mongodb, etc?

how do I get multiple results in the vue template

<lunr-search>
        <template v-slot:default="{ meta }">
          <nuxt-link :to="meta.route">
          </nuxt-link>
        </template>
      </lunr-search>

only gives me one result ever. I'm expecting 2 when I type 'test' into webpage

options.placeholderText does not work

Hi
Whatever I use as placeholderText is not being used as placeholder for input.
In source of a page the placeholder is empty.

    {
      src: "@nuxtjs/lunr-module",
      options: {
        placeholderText: "SearchTest"
      },
    },

Here its substituted.
But here used as empty.

I do not use I18N

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Using npm packages for Renovate presets is now deprecated. Please migrate to repository-based presets instead.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

circleci
.circleci/config.yml
npm
package.json
  • consola ^2.15.0
  • lunr ^2.3.9
  • lunr-languages ^1.4.0
  • jsdom ^16.4.0
  • nuxt-i18n 6.15.4
  • tib ^0.7.4

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.