Creating a site using Teft

The core Teft packages can be used as standalone components. All packages can be installed trough npmjs.org. See the different packages for more info.

Building asset

Teft has created @teft/scripts, a collection of reusable scripts for development. These scripts makes sure all requirements to use and compile Teft are satisfied.

Read more about the installation and setup in the @teft/scripts package, or take a look at our WordPress Theme to see it in action.

WordPress

You have two options when you are setting up Teft in WordPress.

  1. Clone the latest Teft Theme and use it as your theme boiler plate.
  2. Create a child theme and use Teft Theme as the parent. The Teft Theme is available from the Teft package repository, and can be install with composer: composer require teft/teft-theme.

Plugins

All Teft plugins are uploaded to packages.teft.io and can be installed with composer. A complete list of plugins can be found at docs.teft.io.

Add the packages.teft.io to repositories in your composer config and install needed plugins.

{
	"repositories": {
		"teft-packages": {
			"type": "composer",
			"url": "https://packages.teft.io"
		}
	},
	"require": {
		"teft/teft-cards": "*",
		...
	},
	...
}