You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 years ago | |
|---|---|---|
| layouts | 2 years ago | |
| platforms | 3 years ago | |
| .editorconfig | 3 years ago | |
| .gitignore | 3 years ago | |
| README.md | 3 years ago | |
| build.js | 3 years ago | |
| debug.js | 3 years ago | |
| env.js | 3 years ago | |
| helpers.js | 3 years ago | |
| package-lock.json | 3 years ago | |
| package.json | 2 years ago | |
| rollup.config.js | 3 years ago | |
| server.js | 2 years ago | |
| test.js | 3 years ago | |
README.md
Create Block - Development Tool
This project used as:
- Block generator
- Development Environment
Block Generator
To create/generate new block by template use:
npm run generate-block
The /blocks folder will be generated. Then you can run npm install, npm start to launch the development
environment.
Development Environment
Generated blocks are including this repository.
This project is running a nodejs script with browsersync and gulp which improves the development process.
Development / Testing the tool
Run npm run generate-block command and give the development name to the block, it will generate the /blocks folder.
Copy the /development/data and /development/src folders to root folder of project.
Now you're ready to run development process: npm run dev.