forked from didirus/AstralRinth
70671ac6726d4e5153e660ffae21e5b249dbcdfe
Omorphia
The Modrinth component library, in Svelte
Read the documentation at omorphia.modrinth.com.
Requires Node v16.5+.
Developing
The library lives in the package/ folder, and the documentation lives in the docs/ folder.
pnpm install # Install dependencies
pnpm dev # Run dev server
Adding new components
Replace
ComponentNamewith your component name in the steps below
-
Create a
ComponentName.sveltefile insrc/components -
Add an export for your component in ./src/index.ts
export { default as ComponentName } from './components/ComponentName.svelte' -
Create a
ComponentName.mdfile for documentation indocs/routes/components -
Add an example of your component in your
ComponentName.mdfile, like so:```svelte example raised <script lang="ts"> import { ComponentName } from 'omorphia' </script> <ComponentName /> ```
Packaging
pnpm package
Building
To build the documentation site, run:
pnpm build
Description
RocketMC is a safe, open-source Minecraft launcher designed with offline users in mind, built on the proven and trusted astralrinth codebase
Languages
Rust
46.8%
Vue
36.8%
TypeScript
10.7%
HTML
2.7%
JavaScript
1.4%
Other
1.5%