Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @frontity/twentynineteen-theme with all npm packages installed. Try it out:

@frontity/twentynineteen-theme lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

require("frontity/package.json"); // frontity is a peer dependency. // require("@frontity/twentynineteen-theme/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@frontity/twentynineteen-theme v1.1.3

A WordPress Twentynineteen Theme in React for Frontity

Twenty Nineteen Frontity Theme Project :art:

:fire: A WordPress Twenty Nineteen Theme Project in React for Frontity.

:zap: Check out the demo site here.

Tutorial Video

Demo :video_camera:

Frontity en la consola

Demo 2 :video_camera:

Speed and performance comparision between the same Twenty Nineteen theme on WordPress (in PHP) vs Frontity (in React).

Frontity en la consola

Installation :wrench:

1. For new projects: clone this project.

  1. git clone https://github.com/imranhsayed/frontity-twentynineteen.

  2. cd frontity-twentynineteen.

  3. npm install && npx frontity dev (from the project's root directory).

  4. Your site will now be available at http://localhost:3000/

2. For new/existing project: use npm.

  1. npm install @frontity/twentynineteen-theme.
  2. Add the package in frontity-settings.js.
  packages: [
    {
      name: "@frontity/twentynineteen-theme",
      state: {
        theme: {
          menu: [
            ["Home", "/"],
            ["Nature", "/category/nature/"],
            ["Travel", "/category/travel/"],
            ["Japan", "/tag/japan/"],
            ["About Us", "/about-us/"]
          ],
          featured: {
            showOnList: true,
            showOnPost: true
          }
        }
      }
    },
  1. Remove your previous theme (mars-theme?) from frontity-settings.js.
  2. npx frontity dev (from project's root directory).
  3. Your site will be available at http://localhost:3000/.

Credits :white_flower:

Authors

  1. Imran Sayed
  2. Smit Patadiya

Contributors

  1. Shaun Guimond
  2. David Arenas

License :scroll:

License: GPL v2

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free