Stacks Modules
A custom user module system. Place a .ts
file with the following template & it will be installed automatically.
๐ค Usage
pnpm i -D @stacksjs/modules
Now, you can use it in your project:
import { type UserModule } from '@stacksjs/types'
export const install: UserModule = ({ app, router, isClient }) => {
// do something
}
Learn more in the docs.
๐งช Testing
pnpm test
๐ Changelog
Please see our releases page for more information on what has changed recently.
๐ Contributing
Please review the Contributing Guide for details.
๐ Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using this package:
Join the Stacks Discord Server
๐ License
The MIT License (MIT). Please see LICENSE for more information.
Made with