Add Authentication and Personalization to VuePress
This example VuePress application is for the blog post Add Authentication and Personalization to VuePress.
Setup
To use this example project, you need the following:
- A recent version of Node.js
- A free Okta Developer Account
Download and Configure the Project
- Download or clone the project.
- Run
npm install
at the command line from within the project folder to install dependencies. - Create a new Single-Page Application in your Okta account.
- Copy the
docs/.vuepress/oktaConfig.js.sample
file todocs/.vuepress/oktaConfig.js
- Copy the
Client ID
from your Okta application and theOrg URL
from your Okta account and update the values in theoktaConfig.js
file.
Launch the application using the following at the command line:
npm run dev
Browse to https://localhost:8080
.