0.0.501 • Published 5 years ago
e2-html-cli v0.0.501
❯ E2 HTML CLI
CLI E2 utility.
❯ Getting started
Step 1: Install
Install the module.
npm install e2-html-cli --save
Step 2: Configuration
Create a file name 'e2.config.json' at the root of your project.
The file should at least include the following property.
{
"prefabPath":"src/myPrefab",
"styleFilePath":"styles/myCssFile.scss",
"assetPath":"src/assets",
}
Property
prefabPath Path to the prefab folder. Prefab
styleFilePath Path to the css file where the E2 core style will be applied. Style
assetPath Path to the asset folder where the definition file will be saved. Asset
Add build command
Add the E2 cli command to the site build process. The command should be execute before the site compilation.
The command can be execute locally by calling it with npm binary execution
npx e2
The command should be execute every time a change is made to the prefab folder.
❯ Author
- lvlStudio - Development - lvlStudio
❯ License
This project is unlicensed.