Hi @loscar9, I’ll try to give some insights here.
First, you don’t have to add all packages in the frontity.settings.js
file, only those that are Frontity packages. A Frontity package is an NPM package with a specific folder structure that can interact with the Frontity framework and other Frontity packages, sharing state
, actions
and libraries
between them. They need to be added in the frontity.settings.js
file so the Frontity framework is aware of them. But, other packages don’t need to do so.
You can take a look at the documentation for more information: Core Concepts: 3. Packages
React Helmet is already included in Frontity (renamed to Head
). You should import it from Frontity
in order to use it in your components.
import { Head } from "frontity";
export const MyTitle = () => {
return (
<Head>
<title>My Site Title</title>
</Head>
);
};
I hope this clarifies your doubts. 