@hoanghiep-pham/ema-vue-ui
v1.1.1
Published
const userManualContent = ` # @hoanghiep-pham/ema-ui User Manual
Downloads
1
Readme
const userManualContent = `
@hoanghiep-pham/ema-ui User Manual
Introduction
`@hoanghiep-pham/ema-ui` is a versatile table component designed for Vue.js and React applications. It provides a rich set of features for displaying, sorting, filtering, and editing tabular data.
Installation
To use `@hoanghiep-pham/ema-ui`, you need to install it in your project. You can do this using npm or yarn:
# Using npm
npm install @hoanghiep-pham/ema-ui
# Using yarn
yarn add @hoanghiep-pham/ema-ui
Usage
Vue.js
In your Vue.js component, include `@hoanghiep-pham/ema-ui`:
<template>
<div>
<EmaTable :data="yourData" :columns="yourColumns" />
</div>
</template>
<script>
import EmaTable from '@hoanghiep-pham/ema-ui';
export default {
components: {
EmaTable
},
data() {
return {
yourData: [], // Your data array
yourColumns: [] // Your columns array
};
}
};
</script>
React
In your React component, include `@hoanghiep-pham/ema-ui`:
import React from 'react';
import EmaTable from '@hoanghiep-pham/ema-ui';
const YourComponent = () => {
const yourData = []; // Your data array
const yourColumns = []; // Your columns array
return (
<div>
<EmaTable data={yourData} columns={yourColumns} />
</div>
);
};
export default YourComponent;
Configuration
`@hoanghiep-pham/ema-ui` offers various configuration options to customize its behavior and appearance. Refer to the documentation or code comments for detailed information.
Contributing
Contributions are welcome! If you encounter a bug or have an enhancement in mind, open an issue or submit a pull request on the GitHub repository.