1.0.3 • Published 2 years ago

sms-plugin---url-state v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

⬅ Back to 🔌

🔌 Plugin Development Template

Template for developing State Machine Snacks plugins.

ScriptDescription
npm run devStart the dev server.
npm run buildBuild project.
npm run serveServe a static copy of the build.
export default (options = {}) => ({
    config : (config = false) => {
        // Modify state machine config.
        // Utilize configEditor when possible.

        // Must return object to be new config.
    },

    service : (config = false, service = false) => {
        // Access the service as well as the config used to generate the service.

        // Doesn't need to return anything.
    },
});

// You can export helper functions for the users of your plugin.
const exampleHelper = () => {

};

export {
    exampleHelper,
};