Add more framework integrations to docs

This commit is contained in:
Tuan Dang
2022-11-28 22:34:31 -05:00
parent 3ece5a0390
commit 4f5ad07ace
10 changed files with 86 additions and 10 deletions
+5
View File
@@ -0,0 +1,5 @@
---
title: "Angular"
---
Instructions coming soon.
+5
View File
@@ -0,0 +1,5 @@
---
title: "Fibre"
---
Coming soon.
+8 -6
View File
@@ -28,12 +28,14 @@ infisical init
... ...
``` ```
## Start your server with environment variables injected ## Start your development server with environment variables injected
```bash ```bash
yarn run start npm run develop
# or start development server
yarn run develop
``` ```
<Note>
Note that for environment variables to be exposed to the client, you'll have
to prefix them with `GATSBY_`. Read more about that
[here](https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/#accessing-environment-variables-in-the-browser).
</Note>
+8 -2
View File
@@ -29,9 +29,15 @@ infisical init
## Start your server with environment variables injected ## Start your server with environment variables injected
```bash ```bash
yarn run dev npm run build && npm run start
# or # or start development server
npm run dev npm run dev
``` ```
<Note>
Note that for environment variables to be exposed to the client, you'll have
to prefix them with `NEXT_PUBLIC_`. Read more about that
[here](https://nextjs.org/docs/basic-features/environment-variables).
</Note>
+5
View File
@@ -0,0 +1,5 @@
---
title: "Nuxt"
---
Instructions coming soon.
+1 -1
View File
@@ -30,5 +30,5 @@ infisical init
## Start your server with environment variables injected ## Start your server with environment variables injected
```bash ```bash
yarn start npm start
``` ```
+40
View File
@@ -0,0 +1,40 @@
---
title: "Vite"
---
Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Vite](https://vitejs.dev) app
```bash
# move to your Vite app
cd /path/to/project
# initialize infisical
infisical init
```
## Modify the start script in your `package.json`
```json
...
"scripts": {
"dev": "infisical run -- vite",
"build": "infisical run -- vite build",
"preview": "infisical run -- vite preview"
}
...
```
## Start your development server with environment variables injected
```bash
npm run dev
```
<Note>
Note that for environment variables to be exposed to the client, you'll have
to prefix them with `VITE_` and export them from the `vite.config.js` file.
Read more about that [here](https://vitejs.dev/guide/env-and-mode.html) and
[here](https://main.vitejs.dev/config).
</Note>
+5
View File
@@ -0,0 +1,5 @@
---
title: "Vue"
---
Coming soon.
+6 -1
View File
@@ -23,11 +23,16 @@ Missing an integration? Throw in a [request](https://github.com/Infisical/infisi
| GitHub Actions | CI/CD | Coming soon | | GitHub Actions | CI/CD | Coming soon |
| Jenkins | CI/CD | Coming soon | | Jenkins | CI/CD | Coming soon |
| [React](/integrations/frameworks/react) | Framework | Available | | [React](/integrations/frameworks/react) | Framework | Available |
| [Express](integrations/frameworks/express) | Framework | Available | | [Vue](/integrations/frameworks/vue) | Framework | Coming soon |
| [Angular](/integrations/frameworks/angular) | Framework | Coming soon |
| [Express](/integrations/frameworks/express) | Framework | Available |
| [Next.js](/integrations/frameworks/nextjs) | Framework | Available | | [Next.js](/integrations/frameworks/nextjs) | Framework | Available |
| [NestJS](/integrations/frameworks/nestjs) | Framework | Available | | [NestJS](/integrations/frameworks/nestjs) | Framework | Available |
| [Nuxt](/integrations/frameworks/nuxt) | Framework | Coming soon |
| [Gatsby](/integrations/frameworks/gatsby) | Framework | Available | | [Gatsby](/integrations/frameworks/gatsby) | Framework | Available |
| [Remix](/integrations/frameworks/remix) | Framework | Coming soon | | [Remix](/integrations/frameworks/remix) | Framework | Coming soon |
| [Vite](/integrations/frameworks/vite) | Framework | Available |
| [Fibre](/integrations/frameworks/fibre) | Framework | Coming soon |
| [Django](/integrations/) | Framework | Coming soon | | [Django](/integrations/) | Framework | Coming soon |
| [Flask](/integrations/frameworks/flask) | Framework | Available | | [Flask](/integrations/frameworks/flask) | Framework | Available |
| [Laravel](/integrations/frameworks/laravel) | Framework | Coming soon | | [Laravel](/integrations/frameworks/laravel) | Framework | Coming soon |
+3
View File
@@ -134,11 +134,14 @@
"group": "Frameworks", "group": "Frameworks",
"pages": [ "pages": [
"integrations/frameworks/react", "integrations/frameworks/react",
"integrations/frameworks/vue",
"integrations/frameworks/angular",
"integrations/frameworks/express", "integrations/frameworks/express",
"integrations/frameworks/nextjs", "integrations/frameworks/nextjs",
"integrations/frameworks/nestjs", "integrations/frameworks/nestjs",
"integrations/frameworks/gatsby", "integrations/frameworks/gatsby",
"integrations/frameworks/remix", "integrations/frameworks/remix",
"integrations/frameworks/vite",
"integrations/frameworks/django", "integrations/frameworks/django",
"integrations/frameworks/flask", "integrations/frameworks/flask",
"integrations/frameworks/laravel", "integrations/frameworks/laravel",