mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Add more framework integrations to docs
This commit is contained in:
5
docs/integrations/frameworks/angular.mdx
Normal file
5
docs/integrations/frameworks/angular.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Angular"
|
||||
---
|
||||
|
||||
Instructions coming soon.
|
||||
5
docs/integrations/frameworks/fibre.mdx
Normal file
5
docs/integrations/frameworks/fibre.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Fibre"
|
||||
---
|
||||
|
||||
Coming soon.
|
||||
@@ -28,12 +28,14 @@ infisical init
|
||||
...
|
||||
```
|
||||
|
||||
## Start your server with environment variables injected
|
||||
## Start your development server with environment variables injected
|
||||
|
||||
```bash
|
||||
yarn run start
|
||||
|
||||
# or start development server
|
||||
|
||||
yarn run develop
|
||||
npm 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>
|
||||
|
||||
@@ -29,9 +29,15 @@ infisical init
|
||||
## Start your server with environment variables injected
|
||||
|
||||
```bash
|
||||
yarn run dev
|
||||
npm run build && npm run start
|
||||
|
||||
# or
|
||||
# or start development server
|
||||
|
||||
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
docs/integrations/frameworks/nuxt.mdx
Normal file
5
docs/integrations/frameworks/nuxt.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Nuxt"
|
||||
---
|
||||
|
||||
Instructions coming soon.
|
||||
@@ -30,5 +30,5 @@ infisical init
|
||||
## Start your server with environment variables injected
|
||||
|
||||
```bash
|
||||
yarn start
|
||||
npm start
|
||||
```
|
||||
|
||||
40
docs/integrations/frameworks/vite.mdx
Normal file
40
docs/integrations/frameworks/vite.mdx
Normal 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
docs/integrations/frameworks/vue.mdx
Normal file
5
docs/integrations/frameworks/vue.mdx
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: "Vue"
|
||||
---
|
||||
|
||||
Coming soon.
|
||||
Reference in New Issue
Block a user