ondrabus / kc-country-selector

Country and state selector for Kentico Cloud
MIT License
0 stars 3 forks source link

Country & State selector for Kentico Kontent

Stack Overflow

This repository contains the source code for the country and state selector custom element for Kentico Kontent.

Setup

  1. Deploy the code to a secure public host
  2. Follow the instructions in the Kentico Kontent documentation to add the element to a content model.
    • The Hosted code URL is where you deployed to in step 1
    • No JSON parameters are necessary

Deploying

Netlify has made this easy. If you click the deploy button below, it will guide you through the process of deploying it to Netlify and leave you with a copy of the repository in your GitHub account as well.

Deploy to Netlify

Developing

This is built as a React SPA. As such, the normal React development processes apply.

After cloning the repo locally, you can get started with:

yarn install
yarn run start

When you're ready to deploy, run the yarn build command and deploy the contents of the build folder.