Skip to content

Vue.js-based starter template for creating Kentico Kontent custom elements

License

Notifications You must be signed in to change notification settings

ChristopherJennings/kontent-custom-element-vue-template

Repository files navigation

Kentico Kontent Custom Element: Vue Template

This custom element for Kentico Kontent gives editors a way to INSERT PURPOSE.

Features

  • Editors can ...
  • Optional debug panel for diagnostics

Quick testing

If you're interested in trying this out without deploying it yourself, you can use https://YOUR_PUBLICLY_DEPLOYED_URL/. This is the deployed version of the master branch in this repo. This should only be used for quick testing as it is subject to change

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 account as well.

UPDATE THE REPO URL IN THE DEPLOY BUTTON TO YOUR REPO URL

Deploy to Netlify

Configuring the Custom Element

You will need to add the custom element to a content type filling in the hosted code URL and the JSON parameters (see below for details).

The JSON parameters required as as follows:

Name Type Description
someSetting string This is an example setting that you want to document.
debug boolean (Optional) If present and set to true the debug panel will activate when editing a content item.

Sample parameters JSON:

{
  "someSetting": "<CUSTOM_VALUE>",
  "debug": true
}

Developing

Initial project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize Vue CLI configuration

See Vue CLI Configuration Reference.

About

Vue.js-based starter template for creating Kentico Kontent custom elements

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published