feat: adds scully

This commit is contained in:
Markus Huggler
2020-11-10 21:11:35 +01:00
parent 7f72252f33
commit ed22dcf5a4
30 changed files with 2078 additions and 355 deletions

12
scully/plugins/plugin.ts Normal file
View File

@@ -0,0 +1,12 @@
import { registerPlugin, getPluginConfig } from '@scullyio/scully';
export const myPlugin = 'myPlugin';
const myFunctionPlugin = async (html: string): Promise<string> => {
return html;
};
const validator = async () => [];
registerPlugin('render', myPlugin, myFunctionPlugin, validator);