Replies: 1 comment
-
@ryzen3100 I don't have a ton of experience with Vue/Nuxt, but it looks like you aren't actually importing and/or referencing rivet.js anywhere in your pages or components. You can either reference the rivet javascript file somewhere in your templates via a If you are importing modules into your components then you'll probably want to do any set up or initialization required in the Vue component's Here are some docs on the different ways you can use the JavaScript that ships with Rivet. This might help you better understand what all you have. https://rivet.iu.edu/getting-started/using-rivet-javascript/ |
Beta Was this translation helpful? Give feedback.
-
Hi,
![image](https://user-images.githubusercontent.com/64163424/203973009-e74eb43f-3918-4445-a2a2-a8d38ba8e17f.png)
I'm trying to setup Rivet on Nuxt v2, so far without success.
Using sass from npm package does style the site, but dynamic parts like the hamburger menu does not work/expand.
Same problem when using CSS variant, and if I import the JS library then I get this error: "ReferenceError, Element is not defined".
Example using Sass: https://codesandbox.io/s/gallant-snow-44sz28?file=/components/myHeader.vue
Beta Was this translation helpful? Give feedback.
All reactions