Nuxt example
See original GitHub issueI saw the example for vue, but was unable to get this working for Nuxt 🤔
Is anybody willing to help with this? If so I think this would make a welcome addition to the examples page 😉
The closest I got was with a bit of code taken from https://github.com/simonhermann/mi-museum/blob/master/plugins/global.js
import Vue from 'vue'
import mediumZoom from 'medium-zoom'
const initAfterMount = () => {
mediumZoom('#app img')
}
Vue.mixin({
mounted: function() {
// this will be called when any component is mounted!
initAfterMount()
},
})
However this isn’t functioning correctly …
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Hello World - Nuxt
In this example: pages/index.vue and pages/about.vue show how Nuxt server renders the page on first load or on hard refresh and renders the...
Read more >nuxt examples - CodeSandbox
Learn how to use nuxt by viewing and forking example apps that make use of nuxt on CodeSandbox. NuxtThe official Nuxt Cloud Sandbox...
Read more >Top 10+ Nuxt JS Example Project 2023 - ThemeSelection
Projects build using Nuxt JS · Vue Telescope Analyzer · Homefinder · Binbytes · Zenestate Client · Koala.
Read more >An example project built using Nuxt - GitHub
nuxt -example. An example project built using Nuxt. Created as a demonstration for this blog article. A static version of the site (made...
Read more >Nuxt - Vue.js Examples
Apply float labels to your Inputs, Selects and Textareas using your Nuxt3 Application. 05 December 2022. Some web3 shenanigans with Nuxt, Vite, UnoCSS, ......
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’m afraid it’s outside of the scope of
medium-zoom
butmoment.js
. I suggest you to read some of these responses.@francoischalifour I do seem to get a lot of
When doing a generate command (although it succeeds) 🤔 any ideas?