https://github.com/auth0-developer-hub/spa_vue_javascript_hello-world_vue-plugin
https://github.com/auth0-developer-hub/spa_vue_javascript_hello-world_vue-plugin
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/auth0-developer-hub/spa_vue_javascript_hello-world_vue-plugin
- Owner: auth0-developer-hub
- Created: 2021-12-05T21:39:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-03T17:16:41.000Z (over 3 years ago)
- Last Synced: 2025-01-29T17:44:48.852Z (5 months ago)
- Language: CSS
- Size: 297 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- 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.