Skip to content

nuno-barreiro/nuxt-uniform-preview

Repository files navigation

nuxt-uniform-preview

Configure local environment variables

  • Create a .env file in the root directory with the below contents. Fill in the missing values.
UNIFORM_PROJECT_ID=
UNIFORM_API_KEY=
COMPOSITION_API_URL=http://localhost:7071/api/composition
  • Create a api\local.settings.json file in the root directory with the below contents. Fill in the missing values.
{
  "IsEncrypted": false,
  "Values": {
    "FUNCTIONS_WORKER_RUNTIME": "node",
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "UNIFORM_PROJECT_ID": "",
    "UNIFORM_API_KEY": "",
    "CONTENTFUL_SPACE_ID":"",
    "CONTENTFUL_DELIVERY_API_KEY":"",
    "CONTENTFUL_PREVIEW_API_KEY":""
  },
  "Host": {
    "LocalHttpPort": 7071,
    "CORS": "*"
  }
}

Running the application

# install dependencies
$ yarn install

# serve static site application 
$ yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published