@plumeria/core 0.8.1 → 0.8.2
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/package.json +1 -1
- package/readme.md +4 -6
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -12,23 +12,21 @@ npm install @plumeria/core
|
|
|
12
12
|
|
|
13
13
|
### Compiler
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
To compile @plumeria/core, for example, to use `npx css`, install
|
|
16
|
+
[`@plumeria/compiler`](https://www.npmjs.com/package/@plumeria/compiler) for static extraction through the Command-line.
|
|
17
|
+
Also, it can be easily integrated(`css &&`) into the build process.
|
|
17
18
|
|
|
18
19
|
```sh
|
|
19
20
|
npm install --save-dev @plumeria/compiler
|
|
20
21
|
```
|
|
21
22
|
|
|
22
|
-
For more information on compiler commnads, please see the documentation
|
|
23
|
-
[API reference/css](https://plumeria.dev/docs/reference/css).
|
|
24
|
-
|
|
25
23
|
### Static StyleSheet
|
|
26
24
|
|
|
27
25
|
Import stylesheet in your application's entry point.
|
|
26
|
+
CSS for all APIs is collected here.
|
|
28
27
|
Applies the static stylesheet for production environments.
|
|
29
28
|
|
|
30
29
|
```ts
|
|
31
|
-
// eg: main.ts or layout.tsx
|
|
32
30
|
import '@plumeria/core/stylesheet';
|
|
33
31
|
```
|
|
34
32
|
|