Mynah UI Example provides an interactive environment to demonstrate the features and capabilities of the Mynah UI library. This example mimics an IDE look and feel to showcase live changes and dynamic updates as you modify the UI library.
To start the example, simply run the following script through your terminal in the root folder.
Tip
Local environment quick start
# local git already cloned
npm run dev
After the script runs, open your browser and go to http://localhost:9000
to see the example.
The steps in the script are as follows:
- First, it cleans the project by removing
dist
andnode_modules
directories. - Then, it installs the dependencies.
- After that, it builds the project.
- Finally, open
index.html
inside thedist
folder in your browser.
If you check the dependencies of the example, you'll see that the mynah-ui dependency is connected to the parent folder, which allows us to use the mynah-ui directly from the parent folder instead of an npm dependency.
If you want, you can run mynah-ui
and example scripts in separate terminals to see their watch processes separately.
If you just need the built version (no need to watch for changes), simply run the below and open the index.html
inside the ./example/dist
folder in your browser.
From your root folder:
npm install && npm run build && cd ./example && npm install && npm run build
Mynah UI -because of its extensive CSS structure- only supports evergreen browsers, including WebKit-based WebUI renderers.
Please check the root folder README.md for usage guidelines, license information, and other helpful guides.