Skip to content

Files

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mynah UI Example (IDE look & feel)

Project Description

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.

Table of Contents

Setup, configuration and use

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.

Preview

Preview

The steps in the script are as follows:

  • First, it cleans the project by removing dist and node_modules directories.
  • Then, it installs the dependencies.
  • After that, it builds the project.
  • Finally, open index.html inside the dist folder in your browser.

How to use the project

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

Supported browsers

Mynah UI -because of its extensive CSS structure- only supports evergreen browsers, including WebKit-based WebUI renderers.

Additional information

Please check the root folder README.md for usage guidelines, license information, and other helpful guides.

License

Apache 2.0 License.