alvarotrigo / alvarotrigo/react-fullpage

'fp_utils' is not defined with Gatsby

Abierto
#110 24 comentarios 0 reacciones 0 asignados Ver en GitHub
documentation good first issue question
Lenguaje dominante
JavaScript
Estrellas
1.3k
Forks
172
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello I tried to set up FullPage.JS with Gatsby and as soon as I add an extension (Parallax or similar) I get this message every time. No matter how often I try it, or which examples I take from the docs, it just doesn't work. It would be great if someone could help me or a working example (the Gatsby link in the docs doesn't work, the one from Next.JS does). I also used the example from https://github.com/alvarotrigo/react-fullpage/issues/31, but still the same error

```js
import React from "react"
import { Link } from "gatsby"

import Layout from "../components/layout"
import SEO from "../components/seo"

import '../components/libs/fullpage.parallax.min'
import '../components/libs/fullpage.scrollHorizontally.min'

import ReactFullpage from '@fullpage/react-fullpage'

const GatsbyFullpage = () => (




console.log('render prop change') || (



Section 1




Section 2




Section 3




)}
/>

Go back to the homepage

)

export default GatsbyFullpage
```

> fp_utils' is not defined no-undef
'fp_utils' is not defined no-undef
'fullpage_api' is not defined no-undef
Expected an assignment or function call and instead saw an expression no-unused-expressions
warning Expected '===' and instead saw '==' eqeqeq
warning Unexpected use of comma operator no-sequences
warning Expected '!==' and instead saw '!=' eqeqeq
error 'fullpage_api' is not defined no-undef
error 'fullpage_api' is not defined no-undef
warning Unexpected use of comma operator no-sequences
warning Unexpected use of comma operator no-sequences

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.