Add Nuxt, Remix, Vue framework integration instructions to docs

This commit is contained in:
Tuan Dang
2022-11-29 01:22:06 -05:00
parent 91827aed3e
commit 11d169ad23
5 changed files with 104 additions and 7 deletions

View File

@@ -2,4 +2,37 @@
title: "Remix"
---
Instructions coming soon.
Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Remix](https://remix.run) app
```bash
# move to your Vue app
cd /path/to/project
# initialize infisical
infisical init
```
## Modify the start script in your `package.json`
```json
...
"scripts": {
...
"dev": "infisical run -- run-p dev:*",
"start": "infisical run -- remix-serve build"
...
}
...
```
## Start your server with environment variables injected
```bash
npm run build && npm run start
# or start development server
npm run dev
```