Skip to content

CoderSerio/Mud.js

Repository files navigation

Mud.js

Mini UI-Build Dependence


Version License: MIT

Introduction

Quickly build light web applications with Mud.js !

You can learn about Mud.js more by ✨ 👉 Clicking 👈


Getting Started

# Install project builder
npm i @trickle/mud-cli -g

# Create a mud project
mud-cli create <name>

Development

When developing Mud.js, Here are some usual methods to make program execution result more intuitive:

Method 0

The most simple way is setting src of <script> to the entry file path, like this:

<script type="module" src="../src/index/js"></script>

Or do the same thing like this:

import Mud from '../src/index/js'

Method 1

Build the package and start a dev-server with rollup for hot module replacement:

npm run build:dev

Method 2

Use yalc to simulate publishing npm package:

npm i yalc -g

yalc publish

yalc add @trickle/mud.js

# Update the package
yalc push

Publish new version:

# Generate change-set file
npx changeset

# Update version
npx changeset version

Contributors

Thanks for all people mentioned below:

CoderSerio
Carbon Serio
Tosuke-sama
TosukeLi

License

MIT