@frontify/frontify-cli v5.8.2
Frontify CLI
Prerequisite
- Node >=16
Installation
npm install -g @frontify/frontify-cli
# Or
yarn global add @frontify/frontify-cli
Content Block
Create
npx @frontify/frontify-cli block create <app name>
The content block name needs to be lowercase, spaces are not allowed but you can use an underscore instead.
Example: my_custom_content_block
Serve
frontify-cli block serve
Params:
| Parameters | Description | Type | Default Value |
| ---------- | ----------- | ---- | ------------- |
| entryPath | Path to the entry file exporting block
and settings
| string | src/index.tsx
|
| port | Port for the local development server | number | 5600 |
Deploy
frontify-cli block deploy --instance=<Frontify URL>
The Frontify URL represent your instance URL.
Example: weare.frontify.com
or https://weare.frontify.com
Authentification
Login
frontify-cli login --instance=<Frontify URL>
The Frontify URL represent your instance URL.
Example: weare.frontify.com
or https://weare.frontify.com
If you are using a domain with self-signed certificate, you will need to put NODE_TLS_REJECT_UNAUTHORIZED=0
before the log in command
Logout
frontify-cli logout
Configuration
macOS: ~/Library/Preferences/frontify-cli-nodejs
24 days ago
24 days ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
6 months ago
6 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago