kebab-case

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

Noun[edit]

kebab-case (uncountable)

  1. Alternative form of kebab case
    • 2016, Olga Filipova, Learning Vue.js 2, Packt, →ISBN, page 95:
      You have probably noticed that while we declare variables describing components in CamelCase (var HelloComponent=Vue.extend({...})), we name them in kebab-case: Vue.component('hello-component', {...}).
    • 2018, Sean Hunter, Aurelia in Action, Manning Publications, →ISBN:
      The HTML view and JavaScript files are named using kebab-case, for example, book-list.html, where the name is made up of lower-case words separated by a hyphen.
    • 2022, Sufyan bin Uzayr, editor, Mastering Vue.js: A Beginner’s Guide, CRC Press, →ISBN:
      Use camelCase or “kebab-case” when using object syntax, as seen in the following example: []