Quick Start

1. Requirements

Before proceeding you'll need to have the latest stable nodejs.

2. Install

Open the project folder and install its dependencies. You can use any package manager you want. We recommend yarn. But you can use also npm.

cd [project folder]/gatsbyjs
yarn install
3. Start

Once the installation is done, you can now start your app by running npm run develop or yarn develop.

yarn develop

This starts a local webserver at http://localhost:8080 and auto detect file changes:

You can now view thefront-js--gatsby in the browser.
              http://localhost:8000/

View GraphiQL, an in-browser IDE, to explore your sites data and schema
              http://localhost:8000/___graphql

Note that the development build is not optimized.
To create a production build, use gatsby build.

success - Building development bundle
3. Build
yarn build

You can also use npm run build.

This project doesn’t handle backend logic or databases; it is just a frontend, so you can use it with any backend you want.

© 2019-2024 飞风公司 版权所有

当您访问我们的网站、服务或工具或与之互动时,我们或我们的授权服务提供商可能会使用cookie来存储信息,以帮助您提供更好、更快、更安全的体验,并用于营销目的。