-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d2cc7d1
Showing
16 changed files
with
665 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
vendor | ||
mix-manifest.json | ||
.idea | ||
public/hot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Statamic Reverse Relationship | ||
|
||
> Statamic Reverse Relationship is a Statamic addon that does something pretty neat. | ||
## Features | ||
|
||
This addon does: | ||
|
||
- This | ||
- And this | ||
- And even this | ||
|
||
## How to Install | ||
|
||
You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root: | ||
|
||
``` bash | ||
composer require tv2regionerne/statamic-reverse-relationship | ||
``` | ||
|
||
## How to Use | ||
|
||
Here's where you can explain how to use this wonderful addon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "tv2regionerne/statamic-reverse-relationship", | ||
"autoload": { | ||
"psr-4": { | ||
"Tv2regionerne\\StatamicReverseRelationship\\": "src" | ||
} | ||
}, | ||
"extra": { | ||
"statamic": { | ||
"name": "Statamic Reverse Relationship", | ||
"description": "Statamic Reverse Relationship addon" | ||
}, | ||
"laravel": { | ||
"providers": [ | ||
"Tv2regionerne\\StatamicReverseRelationship\\ServiceProvider" | ||
] | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vite build" | ||
}, | ||
"devDependencies": { | ||
"@vitejs/plugin-vue2": "^2.2.0", | ||
"laravel-vite-plugin": "^0.7.2", | ||
"vite": "^4.0.0" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"resources/js/addon.js": { | ||
"file": "assets/addon-77c1ea37.js", | ||
"isEntry": true, | ||
"src": "resources/js/addon.js" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import ReverseRelationship from './components/fieldtypes/ReverseRelationship.vue' | ||
|
||
Statamic.booting(() => { | ||
Statamic.component('reverse_relationship-fieldtype', ReverseRelationship) | ||
}); |
Oops, something went wrong.