A BlueSky RSS Feed Reader for Angular Apps
npm install ng-bsky-rss-readerresource API for asynchronous requests.
--force or --legacy-peer-deps when installing the NPM dependencies, i.e., via npm install. bash
npm install tailwindcss @tailwindcss/postcss postcss --force
`
2. Create a .postcssrc.json file in the root of your project and add the @tailwindcss/postcss plugin to your PostCSS configuration.:
`json
{
"plugins": {
"@tailwindcss/postcss": {}
}
}
`
3. Import Tailwind CSS to your main styles file (e.g., src/styles.css):
`css
@import "tailwindcss";
`
4. Install the library using NPM:
`bash
npm install ng-bsky-rss-reader --legacy-peer-deps
`
Usage
1. Import the library in your component:
`typescript
import { BskyRssReaderComponent } from 'ng-bsky-rss-reader';
@Component({
selector: 'app-root',
imports: [BskyRssReaderComponent],
})
`
2. Add the component to your template:
`html
`
3. Full example:
`typescript
import { Component, signal } from '@angular/core';
import { BskyRssReaderComponent } from 'ng-bsky-rss-reader';
@Component({
selector: 'bpr-root',
imports: [BskyRssReaderComponent],
template:
})
export class AppComponent {
profile = signal('ricky.pt');
}
``