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
Configures a new Azure Static Web Apps project with the Static Web Apps CLI. Interactive mode prompts you for a configuration name, will detect your project settings and the frameworks used. Once complete, a new static web app is created and a swa-cli.config.json file is generated in the current directory.
107
+
Configures a new Azure Static Web Apps project with the Static Web Apps CLI. Interactive mode prompts you for a configuration name, detects your project settings and the frameworks used. Once complete, a new static web app is created and a `swa-cli.config.json` file is generated in the current directory.
108
108
109
109
You can run `swa init` multiple times to create different configurations for your project. You may want to do this if you're working on a monorepo and want to configure different projects.
Builds the application. If you have a Node.js application, it will install dependencies first.
169
+
Builds the application. If you have a Node.js application, it installs dependencies first.
170
170
171
171
Common use cases include: installing dependencies for the front-end app and API and running the build commands for both, only building the front-end or API project if the other doesn't have a build step.
172
172
@@ -301,7 +301,7 @@ Then access the application with the emulated services from `http://localhost:42
301
301
302
302
### Serve both the front-end app and API
303
303
304
-
If your project includes API functions, the CLI will check if the Azure Functions Core Tools are installed and available. If not, the CLI will download and install the right version of the Azure Functions Core Tools.
304
+
If your project includes API functions, the CLI checks if the Azure Functions Core Tools are installed and available. If not, the CLI downloads and install the right version of the Azure Functions Core Tools.
Generate and edit your Static Web Apps database connections configuration.
622
622
623
-
Use `swa db init` to generate a sample *swa-db-connections* folder, along with a *staticwebapp.database.config.json* configuration file. If you are using a Cosmos DB for NoSQL database, this will also generate a sample *staticwebapp.database.schema.gql* schema file.
623
+
Use `swa db init` to generate a sample _swa-db-connections_ folder, along with a `staticwebapp.database.config.json` configuration file. If you are using a Cosmos DB for NoSQL database, this also generates a sample `staticwebapp.database.schema.gql` schema file.
0 commit comments