dobromir-hristov / fullpage-nuxt-module

1 stars 0 forks source link

Hello,How to use NPM? #1

Closed wphubs closed 4 years ago

wphubs commented 4 years ago

How to use NPM?

dobromir-hristov commented 4 years ago

Hey, this is just an experiment, and as you see not yet an npm package. You can however copy the modules on your local machine and try it out :) lmk if it works.

wphubs commented 4 years ago

ok,tks

BlackBiM123 commented 4 years ago

@w405287435 hello, i have the same problem with full page on prod as you, i suppose. have you tried Dobromir's solution?

wphubs commented 4 years ago

@BlackBiM123 No,I haven't solved。I'm waiting for fullpage.js next version

BlackBiM123 commented 4 years ago

@w405287435 thx, i think i'll have to wait too, or try searching another plugin/ cause this solution didnt help me. just added more errors =( though there is a great chance that I'm doing something wrong. =)

dobromir-hristov commented 4 years ago

So there are a few things to this.

The index.js imports two files, a client and a server file. the Clinet is just a normal vue-fullpage init, where as the server, imports a pretty simple fullpage wrapper, that is used instead of importing fullpage on the server, as we know that doesnt work.

You can do the same and it should work :) I am waiting on Alvaro to approve this, so we can release it as a package or something.

wphubs commented 4 years ago

@BlackBiM123 My problem is NUXT.js SSR, If you don't need to SEO,You can try “no-ssr” , it can works

BlackBiM123 commented 4 years ago

@w405287435 mine too. i need ssr working properly