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.
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.
You have two options when you are setting up Teft in WordPress.
composer require teft/teft-theme
.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": "*",
...
},
...
}