Files
directus/docs/index.md
Bryant Gillespie 8ab73b2c0f Add Developer Blog to /docs (#19049)
* wip

* Added guest author details

* Adding guidelines

* avatar fixes

* extract Badge component

* Add links in header and sidebar

* add lazy loading for article images

* get user_created fields

* refactor post page

* refactor blog index page

* refactor data fetching to developer_articles

* fix avatar image position

* avatar cleanup

* lint fixes

* lint fixed

* fix formatting to pass checks

* pull in blog data

* add blog tags to sidevar

* flex article card meta to align across grid

* remove unneeded date formatters

* tagging support

* fixes for blog index page

* avatar cleanup

* dev blog post metadata

* Fix edit link for blog pages

* unneeded util

* fix tags condition

* fix lint errors

* dark mode fixes

* Main Listing

* TagsIndex Styling

* ADjusted the PostMeta component, shifted component directories

* Fixed broken data file

* Prettier

* remove articles that aren't published from tags

* sort 1th and 2th

* fix sidebar conflict

* Latest posts first

* removed sort on tags pages

* Dev blog items to landing page

* Order posts on tag pages

* Linting

* Fix tag pages when article values are null

* Sidebar: remove tags, add guest author, perma-open

* Blog link on docs home

* Fix blog button on landing page

* Prettier

* Default description

* Default OG Image

* Add meta tags to docs blog post

* Prettier

* Hardcoded colors now variables

---------

Co-authored-by: Kevin Lewis <kvn@lws.io>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2023-08-03 15:27:18 -04:00

8.4 KiB

layout
layout
home
<script setup> import { data } from './.vitepress/data/blog.data.js'; import Pattern from './.vitepress/components/home/Pattern.vue'; import Footer from './.vitepress/components/home/Footer.vue'; import Github from './.vitepress/components/home/icons/Github.vue'; import Badge from './.vitepress/components/Badge.vue' </script>
Resource Hub

Directus Documentation

Explore our resources and powerful data engine to build your projects confidently.

Get Started GitHub
GET /items/products/4?
	fields[]=id,status,title,category,image.id,image.name
query {
	articles_by_id(id: 4) {
		id
		status
		title
		category
		image {
			id
			name
		}
	}
}
await directus.request(
  readItem('articles', 4, {
    fields: [
      'id',
      'status',
      'title',
      'category,',
      { image: ['id', 'name'] }
    ]
  })
);

Latest From The Blog

Project tutorials, tips & tricks, and best practices from the Directus team and community.

View All Posts

Framework Guides

Combine Directus with your favorite framework to create dynamic and efficient web applications.

Self Hosted Directus

Learn how to run Directus on your own machine, customize settings, and deploy with confidence.

Contributing to Directus

There are many ways in which you can contribute to the health and growth of the Directus project.

Join the Community GitHub
<style module> @import './home.css'; </style>