alvarotrigo / alvarotrigo/react-fullpage

'fp_utils' is not defined with Gatsby

Đang mở
#110 24 bình luận 0 reaction 0 người được giao Xem trên GitHub
documentation good first issue question
Ngôn ngữ chính
JavaScript
Star
1.3k
Fork
172
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.