You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Create your plugin's repo in the salesforcecli github org
23
-
4. When you're ready, replace the contents of this README with the information you want.
24
-
25
-
## Learn about `sf` plugins
26
-
27
-
Salesforce CLI plugins are based on the [oclif plugin framework](https://oclif.io/docs/introduction). Read the [plugin developer guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_architecture_sf_cli.htm) to learn about Salesforce CLI plugin development.
28
-
29
-
This repository contains a lot of additional scripts and tools to help with general Salesforce node development and enforce coding standards. You should familiarize yourself with some of the [node developer packages](#tooling) used by Salesforce. There is also a default circleci config using the [release management orb](https://github.com/forcedotcom/npm-release-management-orb) standards.
30
-
31
-
Additionally, there are some additional tests that the Salesforce CLI will enforce if this plugin is ever bundled with the CLI. These test are included by default under the `posttest` script and it is required to keep these tests active in your plugin if you plan to have it bundled.
> **Develop web applications with seamless Salesforce integration**
46
-
47
-
A Salesforce CLI plugin for building and deploying web applications that integrate with Salesforce. This plugin provides tools for local development, packaging, and deployment of webapps with built-in Salesforce authentication.
7
+
A Salesforce CLI plugin for building web applications that integrate with Salesforce. This plugin provides tools for local development, packaging, and deployment of webapps with built-in Salesforce authentication.
48
8
49
9
This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm).
50
10
@@ -63,12 +23,57 @@ We always recommend using the latest version of these commands bundled with the
63
23
-**Health Monitoring**: Displays helpful error pages when dev server is down with auto-refresh
64
24
-**Framework Agnostic**: Works with any web framework (React, Vue, Angular, etc.)
65
25
66
-
---
26
+
## Quick Start
27
+
28
+
1.**Install the plugin:**
29
+
30
+
```bash
31
+
sf plugins install @salesforce/plugin-app-dev
32
+
```
33
+
34
+
2.**Authenticate with Salesforce:**
35
+
36
+
```bash
37
+
sf org login web --alias myorg
38
+
```
39
+
40
+
3.**Create webapplication.json:**
41
+
42
+
```json
43
+
{
44
+
"name": "myapp",
45
+
"label": "My Web App",
46
+
"version": "1.0.0",
47
+
"apiVersion": "60.0",
48
+
"outputDir": "dist",
49
+
"dev": {
50
+
"command": "npm run dev"
51
+
}
52
+
}
53
+
```
54
+
55
+
4.**Start development:**
56
+
```bash
57
+
sf webapp dev --name myapp --target-org myorg --open
0 commit comments