mars-theme- it's the basic starter theme that we recommend for beginners.
hello-frontitycontaining your project’s code. The structure of the project will look something like this:
frontity.settings.js. This is the configuration file for our project and can be found in the root directory of the project. One of the elements that you'll see here is an array of
packages. In Frontity everything is a package, including the theme, so one of the packages in the array is
@frontity/mars-theme. We'll be replacing this in the next lesson.
@frontity/wp-source. This has a property:
state.source.url. This is where you define the WordPress site that you want to connect to in order to get data from the REST API. Changing this is one of the first things you would normally do when configuring a Frontity project, but let's leave this as it is since this is the source for the data that we are going to be working with during this tutorial.
http://localhost:3000in your browser.
@frontity/mars-theme, and it is connected to our test WordPress site (i.e. https://test.frontity.org as defined in
state.source.url) which you will see contains a travel blog as its content.