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,32 @@
title: "Nuxt"
---
Instructions coming soon.
Prerequisite: [Install the CLI](/cli/overview)
## Initialize Infisical for your [Nuxt](https://nuxtjs.org) app
```bash
# move to your Nuxt app
cd /path/to/project
# initialize infisical
infisical init
```
## Modify the start script in your `package.json`
```json
...
"scripts": {
"dev": "infisical run -- nuxt",
"build": "infisical run -- nuxt build",
"start": "infisical run -- nuxt start"
}
...
```
## Start your development server with environment variables injected
```bash
npm run dev
```