Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.26 KB

emmet.md

File metadata and controls

36 lines (28 loc) · 1.26 KB

Emmet module

Usage

Please create a new json file called .hayde.json in your project root. This file will be used to configure the Hayde.

And then add emmet to the plugins array.

{
  "plugins": [
    "general",
    "css",
    "emmet",
    "reactJS",
    "chakraUI"
  ]
}

Options

Option Description Default Type
code Emmet code - string
componentContentTag Placeholder for component on emmet code {{componentContent}}
area Position of the component on the emmet code - inside

Returns

Return Description Type
area Position of the component on the emmet code string
classNames CSS classname list from emmet code string[]
ids CSS ID list from emmet code string[]
htmlContent HTML result of emmet string