frontity.settings.js
.npm install some-package
procedure.npm
package and stored in node_modules
folder, where all your dependencies are installed. In order to install a package as external you just have to run this command in the root of your project:node_modules
folder and your package.json
file.npm install new-frontity-package
node_modules
folder of your project, so you'll need to look for the package and move it to the folder packages
inside your Frontity project.package.json
. You'll have your new package inside the dependencies of your project, pointing to its latest version. As we are going to use it as a local
package, we have to point it to its proper folder.npm install
at the root of your project and it will work as local
package.frontity.settings.js
, inside the packages
array to make it work. Remember to check if any settings are needed and include them as well (You can check that at each specific Frontity Package or Frontity Theme).package.json
and in your frontity.settings.js