https://github.com/auth0-developer-hub/spa_vue_typescript_hello-world_vue-plugin
https://github.com/auth0-developer-hub/spa_vue_typescript_hello-world_vue-plugin
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/auth0-developer-hub/spa_vue_typescript_hello-world_vue-plugin
- Owner: auth0-developer-hub
- Created: 2021-12-05T20:24:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-13T21:04:33.000Z (about 4 years ago)
- Last Synced: 2025-01-29T17:44:48.825Z (11 months ago)
- Language: Vue
- Size: 290 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hello, Vue 3 World!
This code sample demonstrates how to implement authentication in a Vue 3 Single-Page Application (SPA).

## Get Started
Install the project dependencies:
```bash
npm install
```
Create a `.env` file under the root project directory with the following content:
```bash
VUE_APP_AUTH0_DOMAIN=
VUE_APP_AUTH0_CLIENT_ID=
VUE_APP_AUTH0_AUDIENCE=https://hello-world.example.com
VUE_APP_AUTH0_CALLBACK_URL=http://localhost:4040/callback
VUE_APP_API_SERVER_URL=http://localhost:6060
```
Run the application:
```bash
npm run serve
```
Visit [`http://localhost:4040/`](http://localhost:4040/) to access the starter application.