swisspost / design-system

The Swiss Post Design System pattern library for a consistent and accessible user experience across the web platform.
https://design-system.post.ch
Apache License 2.0
106 stars 13 forks source link

Update the icons package docs #3010

Open oliverschuerch opened 2 weeks ago

oliverschuerch commented 2 weeks ago
### Tasks
- [ ] On the page `Serve the icons within your application` update the sections `Angular wrapper package` and `Declare manually Web components` to point out, this are two different ways how to add components to your angular app.
- [ ] Move the section `Serve the icons within your application` from the page `Getting Started/Angular` to the page `Getting Started/Packages/Icons` and merge it with the section `Copy & paste the icons with a postinstall script`.
- [ ] Update the title of the merged section to something like `Selfhosting the icons`.
- [ ] Point out, the difference between a vanillaJS setup (which will need the postinstall script) and the angular way to serve the icons.
- [ ] Point out, that the copied `/assets/post-icons` folder needs to be served by a dev server and be available in the dist folder, to be accessible from the int/prod server.
- [ ] Remove the section `Serve the icons wihin an Angular application` above.