Components does not work in a fresh Nuxt 3 project
See original GitHub issueBug 🐞
What is the current behavior?
Make a sandbox with the current behavior
- Create new nuxt 3 project.
- Follow the tutorial here https://www.algolia.com/doc/guides/building-search-ui/going-further/server-side-rendering/vue/#with-nuxt (but use
vue-instantsearch/vue3/es instead
) - See the error
Template: https://codesandbox.io/s/github/algolia/create-instantsearch-app/tree/templates/vue-instantsearch
What is the expected behavior?
It should render the components correctly
Does this happen only in specific situations?
Always
What is the proposed solution?
Review this hogan library.
What is the version you are using?
“algoliasearch”: “^4.11.0”, “vue-instantsearch”: “^4.3.1”
Always try the latest one before opening an issue.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:17 (9 by maintainers)
Top Results From Across the Web
Nuxt 3 trouble after build project - Stack Overflow
The Problem. After build project does not work html5 video on MacOS < 15 version and iOS < 15 version. Path is ok,...
Read more >Nuxt 3 first steps. - ITNEXT
OK, first things first. What's nuxi ? It's the new Nuxt CLI (Command Line Interface) that will help you install and manage all...
Read more >Installation - Nuxt
Here, you will find information on setting up and running a Nuxt project in 4 steps.
Read more >Getting Started - BootstrapVue
Note that when importing individual components, any component aliases will not be available. Note: Optimal tree shaking only works when your Nuxt.js app...
Read more >Vue.js | WebStorm Documentation - JetBrains
Open the empty project where you will use Vue.js. ... WebStorm passes them to the new component with properties and copies the related ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I managed to get vue-instantsearch + MeiliSearch to work on a Nuxt 3 project by installing
Installing InstantSearch as a client side only plugin using
plugins/instantSearch.client.ts
(notice the.client
in the filename. I followed the Vue Plugin section of nuxt’s documentation) :When trying with a regular plugin, I was having the
m.default is not a function
error but that’s not the case with client side only. And finally created a simple modal search exemple like thisAnd this gives me a simple search modal. I did not have to add vue-instantsearch to the transpile option in my nuxt config.
I haved not tried with algolia as the searchClient though.
The release including those fixes will be done in a couple minutes @Baroshem 😃