gridsome / gridsome
- четверг, 18 октября 2018 г. в 00:15:53
JavaScript
⚡️ [ALPHA] Build blazing fast websites with Vue.js & GraphQL
A JAMstack framework for building blazing fast websites with Vue.js
This project is under active development. Any feedback or contributions would be appreciated.
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.
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.
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
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.
Gridsome sites can be entirely hosted on a CDN and can handle thousands to millions of hits without breaking - and no expensive server costs.
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.
npm install --global @gridsome/cli
gridsome create my-gridsome-site to create a new project cd my-gridsome-site to open foldergridsome develop to start local dev server at http://localhost:8080.vue files to /pages directory to create pages.gridsome build to generate static files in a /dist foldergridsome serve for server-side rendering*.vue pages and templates