Skip to content

Default-theme: Allow to use AlgoliaSearchBox with another theme #267

Closed
@tinchox5

Description

@tinchox5

What is it happening?
Can't use AlgoliaSearchBox in a custom theme because the component is imported in NavBar using @:

import AlgoliaSearchBox from '@AlgoliaSearchBox'

Solution proposed:

import AlgoliaSearchBox from './AlgoliaSearchBox'

Edit: The problem was because I created a custom theme based on the default-theme. So, I only need to edit the Navbar.vue of my custom theme to solve the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions