Hayde
ExamplesDocumentationGithub
  • Hayde
  • ♥️Features
    • AI module
    • Builder.IO module
    • Chakra UI module
    • Create Plugin module
    • CSS module
    • emmet
    • General module
    • Material UI module
    • React.js module
    • Storybook module
  • 📔Documentation
    • CLI Arguments
    • Options
    • Profiles
    • NPM script trigger
    • How to Create Custom Plugin
    • Contributor Covenant Code of Conduct
  • 🚀Examples
  • Source Code
Powered by GitBook
On this page
  • Emmet module
  • Returns

Was this helpful?

  1. Features

emmet

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

Last updated 1 year ago

Was this helpful?

♥️