GithubHelp home page GithubHelp logo

violet0sea / the-greate-gatsby Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9.64 MB

use gatsby build static html

Home Page: https://violet0sea.github.io/the-greate-gatsby/.

License: MIT License

JavaScript 66.82% CSS 32.58% Shell 0.60%

the-greate-gatsby's Introduction

Gatsby

Gatsby's static html

使用 Gatsby 构建博客,Gatsby 是一个基于 React 和 Graphql 的静态 html 构建网站,可以用于博客搭建,使用 markdown 文件,通过 markdownRemark 转化为 html;项目在基于 Gatsby default starter 的基础上,增加了 sass 预处理,使用 rem 和 vw 布局,360 - 540 下字体大小随视口大小变化

🚀 Quick start

  1. Create a Gatsby site.

    git clone repo

    git clone https://github.com/violet0sea/the-great-gatsby.git
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd the-greate-gatsby
    yarn install
    yarn add gatsby -g
    gatsby develop
  3. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

🧐 What's inside?

可以尝试在/src/pages/blog 下添加 markdown 文件,页面会自动生成相应的路由

the-greate-gatsby's People

Contributors

dependabot[bot] avatar violet0sea avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.