MCPcopy Index your code
hub / github.com/gridsome/gridsome

github.com/gridsome/gridsome @0.7.23

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.7.23 ↗ · + Follow
762 symbols 2,047 edges 240 files 3 documented · 0% 52 cross-repo links updated 2y ago★ 8,482535 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gridsome

Build super fast, modern websites with Vue.js

Gridsome is a Vue-powered static site generator for building CDN-ready websites for any headless CMS, local files or APIs

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

Enjoy a modern development stack

Build websites with modern tools like Vue.js, webpack and Node.js. Get hot-reloading and access to any packages from npm and write CSS in your favorite preprocessor like Sass or Less with auto-prefixing.

Connect to any CMS or data source

Use any CMS or data source for content. Pull data from WordPress, Contentful, local Markdown, or any other headless CMS or APIs and access it with GraphQL in your pages and components.

PWA Offline-first architecture

Only critical HTML, CSS, and JavaScript get loaded first. The next pages are then prefetched so users can click around incredibly fast without page reloads, even when offline.

Get perfect page speed scores

Gridsome automatically optimizes your frontend to load and perform blazing fast. You get code-splitting, image optimization, lazy-loading, and almost perfect lighthouse scores out-of-the-box.

Build future ready websites

The future of the web is JavaScript, API's, and Markup - the Jamstack. Gridsome uses the power of blazing-fast static site generator, JavaScript and APIs to create stunning dynamic web experiences.

Ready for global domination

Gridsome sites are usually not connected to any database and can be hosted entirely on a global CDN. It can handle thousands to millions of hits without breaking - and no expensive server costs.

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 the folder
  3. gridsome develop to start a local dev server at http://localhost:8080
  4. Happy coding 🎉🙌

3. Next steps

  1. Create .vue components in the ./src/pages directory to create pages
  2. Use gridsome build to generate static files in a ./dist folder

Learn more...

How to Contribute

Install Node.js 8.3 or higher and Yarn.

  1. Clone this repository.
  2. Create a new Gridsome project inside the ./projects folder.
  3. Enter the new project folder and run yarn install.
  4. The project will now use the local packages when you run gridsome develop.

Make sure your test project has a version number in its package.json if you use an existing project.

To use the local version of @gridsome/cli as the global command, enter the ./packages/cli folder and run npm link.

Yarn will add dependencies from your test projects to the root yarn.lock file. So you should not commit changes in that file unless you have added dependencies to any of the core packages. If you need to commit it, remove your projects from the ./projects folder temporary and run yarn install in the root folder. Yarn will then clean up the lock file with only necessary dependencies. Commit the file and move your projects back and run yarn install again to start developing.

Code of Conduct

In the interest of fostering an open and welcoming environment please read and follow our Code of Conduct.

License

Licensed under the MIT License.

Roadmap for v1.0

Visit the Gridsome Roadmap to keep track of which features we are currently working on.

Core symbols most depended-on inside this repo

Shape

Function 390
Method 284
Class 88

Languages

TypeScript100%

Modules by API surface

gridsome/lib/pages/pages.js42 symbols
gridsome/lib/app/actions.js36 symbols
gridsome/lib/app/PluginAPI.js23 symbols
gridsome/lib/store/PluginStore.js20 symbols
gridsome/lib/store/Collection.js19 symbols
gridsome/lib/plugins/TemplatesPlugin.js18 symbols
gridsome/lib/app/Schema.js17 symbols
packages/source-wordpress/index.js16 symbols
gridsome/lib/store/Store.js16 symbols
gridsome/lib/graphql/createSchema.js16 symbols
gridsome/lib/app/queue/ImageProcessQueue.js14 symbols
packages/source-filesystem/index.js13 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/code-frame7.5.5 · 1×
@babel/core7.0.0 · 1×
@babel/parser7.0.0 · 1×
@babel/preset-env7.0.0 · 1×
@babel/traverse7.0.0 · 1×
@contentful/rich-text-html-renderer13.1.0 · 1×
@gridsome/cli0.3.4 · 1×
@gridsome/source-filesystem0.6.2 · 1×
@gridsome/transformer-remark0.6.4 · 1×
@hapi/joi15.1.1 · 1×
@hjvedvik/tasks0.0.8 · 1×
@lerna/conventional-commits3.22.0 · 1×

For agents

$ claude mcp add gridsome \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page