Display a common not found message across the customer portal
Describe how best to use this web component along with best practices.
<cp-404>
<!-- Default slot -->
<h2>This is cp-404</h2>
</cp-404>
Explain how this component meets accessibility standards.
-
namedSlot
: Describe each available slot and best practices around what markup it can contain.
-
attr
: Describe each available attribute and what function is serves.
Describe any events that are accessible external to the web component. There is no need to describe all the internal-only functions.
Describe any dependent elements or libraries here too.
`npm start`
`npm run test`
`npm run build`
From the PFElements root directory, run:
`npm run demo`
Cp 404 (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.