create-vitral 0.13.1 → 0.13.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/README.md +10 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/joaogabriel15/vitral/main/docs/public/marca/banner.png" width="640" alt="vitral.
|
|
2
|
+
<img src="https://raw.githubusercontent.com/joaogabriel15/vitral/main/docs/public/marca/banner-en.png" width="640" alt="vitral. Made of parts. Seen as a whole.">
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
# create-vitral
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Creates a [vitral](https://joaogabriel15.github.io/vitral/en/) host or remote, ready to run. vitral puts micro-frontends from any framework on one page, with no build config on the host.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
npm create vitral@latest
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
With no options, the command asks what to create. With options:
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm create vitral@latest
|
|
17
|
-
npm create vitral@latest
|
|
16
|
+
npm create vitral@latest cart -- --remote --framework react
|
|
17
|
+
npm create vitral@latest shop -- --host --framework vue --src https://cdn.example.com/cart/vitral.json
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
|
|
|
20
|
+
| Option | Values |
|
|
21
21
|
| --- | --- |
|
|
22
|
-
| `--host`, `--remote` |
|
|
22
|
+
| `--host`, `--remote` | What to create |
|
|
23
23
|
| `--framework`, `-f` | Hosts: react, next, vue, nuxt, angular, sveltekit, solid, preact, lit, vanilla. Remotes: react, vue, svelte, solid, preact, angular, lit, vanilla |
|
|
24
|
-
| `--src` | URL
|
|
24
|
+
| `--src` | URL of the `vitral.json` the host loads |
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
Next, follow [Set up host and remote](https://joaogabriel15.github.io/vitral/en/aprender/configurar).
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
[Português](https://joaogabriel15.github.io/vitral/aprender/configurar) · MIT license · Made by [Pacheco Codes](https://pacheco.dev.br/)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vitral",
|
|
3
|
-
"version": "0.13.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.13.2",
|
|
4
|
+
"description": "Scaffold a vitral host or remote: npm create vitral@latest",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vitral",
|
|
7
7
|
"micro-frontend",
|