Comments (5)
Looks like a good solution ! Thanks for helping @geoandrew .
Closing this issue then, anyone can feel free to reopen if needed :).
from vue-slideout.
plugins/vue-slideout.js:
import Vue from 'vue';
import Slideout from 'vue-slideout';
Vue.component('Slideout', Slideout);
nuxt.config.js:
plugins: [
{ src: '~/plugins/vue-slideout', ssr: false }
],
from vue-slideout.
I'm using slideout with nuxt (see config in previous comment) and got error:
The client-side rendered virtual DOM tree is not matching server-rendered content
See nuxt/nuxt#1700, you can avoid this error with wrapping <Slideout>
to <no-ssr>
tag
from vue-slideout.
Hello !
So, the first thing to know is that i have never used nuxt, so any kind of help would be apreciated :)
I will check it out a bit further tonight if i can !
Thanks for the issue report !
from vue-slideout.
Hi Folks;
I just ran into the same problem. It's to do with Server Side Rendering. Please see https://nuxtjs.org/guide/plugins and the section on Client Side Rendering.
I created a plugin file and added slideout. In the plugin def, make sure 'ssr: false'
Then, remove the explicit import and component definition in your page file.
Hope this helps someone!
from vue-slideout.
Related Issues (16)
- Can't get it work HOT 6
- static resources HOT 2
- how to keep it open by default? HOT 2
- Event emitter should dispatch the relative data HOT 2
- .toggle() is not a function HOT 1
- Setting touch prop/option to false doesn't seem to work HOT 2
- toggleSelectors match only the first instance of element HOT 1
- Feature Request - Make padding dynamic HOT 2
- Error "Slideout is not a constructor" is displayed when used with CDN
- Always on HOT 10
- can't scroll slider down HOT 14
- Unknown plugin "transform-runtime" when used with webpack HOT 7
- please,how to open a menu by js code,but dom click HOT 1
- 您好,使用您这个组件发现滑动太灵敏了,体验不是很好 HOT 12
- Can't have more than one instance of a toggle-selector HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-slideout.