cross-country 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,10 @@ Do you pour over your personal stats from Github, Strava or Spotify? Is your yea
|
|
|
17
17
|
|
|
18
18
|
In my case, I'm using this library to present metrics about my path as a developer as well as my home energy efficiency and [decarbonization](https://greenbuildingcanada.ca/decarbonize-home/).
|
|
19
19
|
|
|
20
|
+
### Note about NextJS
|
|
21
|
+
|
|
22
|
+
After upgrading to Vite, this library currently does not work with NextJS due to the way it imports its CSS. I'm currently [exploring different approaches](https://dev.to/headwinds/comment/2bel0) but for now I would recommend using this library within [Vite react starter](https://vitejs.dev/guide/), and you can use an [earlier build like 1.1.85](https://www.npmjs.com/package/cross-country/v/1.1.85) before the Vite migration that does work with NextJS.
|
|
23
|
+
|
|
20
24
|
By wrapping html, each component is augmented for building accessible experiences across screens. A simple page may look like this:
|
|
21
25
|
|
|
22
26
|
```
|