The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
So I saw the new chakara-theme and it looked cool, so i installed it with npm and copies the folder it created from the node_modules folder to the local packages folder and changed the frontity.settings.js from "name": "@frontity/mars-theme" to "name": "frontity-chakra-theme".
And it gives me an internal server error. I also have the source pointing to my own wordpress blog and it all works fine when i use the mars package. Any help would be appreciated. I am still new to node
iamuchejude3
Hello @lexmas, welcome to Frontity.
Using a theme’s default components and designs does not require you to copy the file from node_modules except you want to customize some major parts of the theme. To use a theme like Chakra with its default components and component designs, you need to install via npm by running:
npm install frontity-chakra-theme
After that, you need to add the frontity-chakra-theme to your packages array in the frontity.settings.js file. That is, changing the present theme to the frontity-chakra-theme. Then, configure your frontity.settings.js file as shown is the readme file for the frontity-chakra-147765 .
To make major changes like changing layouts, updating complex designs e.t.c, you’ll have to copy the npm package and paste in a packages folder in the root folder of your Frontity application and also update the directory to the package in your package.json file.