@enos5/enos-vue-default 1.5.7 → 1.5.8
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 +10 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,16 @@ Or import individual components:
|
|
|
54
54
|
import { Button, TextInput } from '@enos5/enos-vue-default'
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
Styles are loaded automatically when you import the package entrypoint, so consumers do not have to remember a separate CSS import.
|
|
58
|
+
|
|
59
|
+
If a consuming app wants earlier stylesheet loading during `npm run dev`, it can opt into the stable stylesheet entry explicitly:
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
import '@enos5/enos-vue-default/styles.css'
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
That explicit import is optional. It mainly improves dev-mode first paint and avoids importing from `dist` directly.
|
|
66
|
+
|
|
57
67
|
## Publish To npm
|
|
58
68
|
|
|
59
69
|
Before publishing, build the package and verify the tarball:
|