github

gridsome / gridsome

  • четверг, 18 октября 2018 г. в 00:15:53
https://github.com/gridsome/gridsome

JavaScript
⚡️ [ALPHA] Build blazing fast websites with Vue.js & GraphQL




Gridsome

A JAMstack framework for building blazing fast websites with Vue.js



This project is under active development. Any feedback or contributions would be appreciated.

Enjoy modern dev stack

Build websites using latest web tech tools that developers love - Vue.js, GraphQL and Webpack. Get hot-reloading and all the power of Node.js. Gridsome makes building websites fun again.

Bring your own data

Gridsome lets you use any CMS or data source for content. Pull data from WordPress, Contentful or any other headless CMS or APIs and access it with GraphQL in your components and pages.

Mobile-first architecture

Only critical HTML, CSS and JavaScript are loaded at first, and then the next pages are prefetched in the background so users can click around extremely fast without page reloads and even offline

Extremely fast loading

Gridsome automatically optimises your frontend to load and perform blazing fast. You get code-splitting, asset optimisation, lazy-loading, and almost perfect Lighthouse scores out-of-the-box.

Scale globally at no cost

Gridsome sites can be entirely hosted on a CDN and can handle thousands to millions of hits without breaking - and no expensive server costs.

The frontend for the headless

Design and build websites that are decoupled from the CMS. This means you can easily change the CMS later or test a complete redesign without breaking your site.

Quick start

1. Install Gridsome CLI tool

npm install --global @gridsome/cli

2. Create a Gridsome project

  1. gridsome create my-gridsome-site to create a new project
  2. cd my-gridsome-site to open folder
  3. gridsome develop to start local dev server at http://localhost:8080
  4. Happy coding 🎉🙌

3. Next steps

  1. Add .vue files to /pages directory to create pages.
  2. Use gridsome build to generate static files in a /dist folder
  3. Use gridsome serve for server-side rendering

Learn more...

Roadmap for v1.0

  • *.vue pages and templates
  • GraphQL data layer
  • Multi-process image processing
  • Multi-process HTML rendering
  • Lazy-loading images and pages
  • Pagination
  • Taxonomies
  • Plugin API
  • Service Worker
  • Documentation
  • Guides
  • Tests