Before run this project, you must make some basic configurations. All configurations are in one file -
There’s some of them:
- assetsPath - Change this path with your absolute path to assets, there needs to be also all files from ‘app/assets’ folder!
- layoutsPath - Change this path if you have another path to your resources!
- defaultLayout - Default layout, you can choose from modern and material, all layouts are in layoutsPath folder.
- defaultSkin - Choose from dark and light.
- urlToUploadImage - Full path to send post request to upload image.
- mjmlPublicKey and mjmlApplicationId - If you don’t want to start a nodejs server for compile MJML, then you’ll need a MJML account for activating MJML API, in another case leave these variables blank.
- mjmlCompileAdress - Use this variable if you already have a nodejs server and don’t want to use MJML API service - put here absolute URL of ‘compile’ path. You can start server.js or npm start to see hot it works.
- UA - Your Google Analytics ID
The rest I strongly recommend to not change, but below I’ll show you how to change them based on frequently questions!
Also if you want to make some changes on blocks elements, you can change them from blocks.
If you need to disable some blocks, just add them to disableBlocks by name, like: ‘title’, ‘button’, ‘text’ …
There’re many of useful configurations, I think you can appreciate them