Skip to content

roots/acorn-example-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Acorn Example Package

This repo can be used to scaffold an Acorn package. See the Acorn Package Development docs for further information.

Installation

You can install this package with Composer:

composer require vendor-name/example-package

You can publish the config file with:

$ wp acorn vendor:publish --provider="VendorName\ExamplePackage\Providers\ExampleServiceProvider"

Usage

From a Blade template:

@include('Example::example')

From WP-CLI:

$ wp acorn example