Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

brandonroberts
Copy link
Member

PR Checklist

Closes #1562

What is the new behavior?

Content loaders and resources are a signal-based way to load and consume content in Analog. They are also customizable to allow different async loaders to be used instead of the built-in default.

The two main APIs are the contentFilesResource that provides a list of content files with metadata, and the contentFileResource for retrieving an individual piece of content.

These are exposed as Angular resources under the @analogjs/content/resources entrypoint and do not change how the existing content APIs function.

The blog-app is also updated to use the content resource APIs.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

[optional] What gif best describes this PR or how it makes you feel?

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for analog-blog ready!

Name Link
🔨 Latest commit c484d47
🔍 Latest deploy log https://app.netlify.com/projects/analog-blog/deploys/68c1b490eb0d8e00075da855
😎 Deploy Preview https://deploy-preview-1874--analog-blog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for analog-ng-app ready!

Name Link
🔨 Latest commit c484d47
🔍 Latest deploy log https://app.netlify.com/projects/analog-ng-app/deploys/68c1b4902159d900088b1591
😎 Deploy Preview https://deploy-preview-1874--analog-ng-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for analog-docs ready!

Name Link
🔨 Latest commit c484d47
🔍 Latest deploy log https://app.netlify.com/projects/analog-docs/deploys/68c1b490eb0d8e00075da851
😎 Deploy Preview https://deploy-preview-1874--analog-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for analog-app ready!

Name Link
🔨 Latest commit c484d47
🔍 Latest deploy log https://app.netlify.com/projects/analog-app/deploys/68c1b49033f8a500084daf38
😎 Deploy Preview https://deploy-preview-1874--analog-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@brandonroberts brandonroberts merged commit 4b2b846 into beta Sep 10, 2025
22 checks passed
@brandonroberts brandonroberts deleted the feat-content-resources branch September 10, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explore using an Angular Resource for Data & Content

1 participant