ā”ļø Supercharge Your Data Visualization: Vue 3 HighCharts Tailwind Boilerplate! ā”ļø Dive into dynamic charts and responsive UI with ease. š Harness the power of Vue 3, Tailwind CSS, and Pinia for lightning-fast state management. š Level up your web apps with modern technologies and a sleek, modular architecture!
āØ Powered by Modern Technologies
Skeletons
Chart: The component to display our charts.
GetErrorSuccess
VueTable: Component with pagination and search functionalities.
The repository includes a structured layout schema that can be easily utilized. To use a new layout, simply specify its name in the router when creating a new route. All handling is managed in the loadLayoutMiddleware.js
file.
There are two main views in this repository:
The CONSTANTS.js
file defines crucial constants for the application:
// CONSTANTS.js
export default {
api: {
login: 'oauth/token',
me: 'user/user-information',
sales: {
dailySalesOverview: 'data/daily-sales-overview',
skuData: 'data/daily-sales-sku-list',
skuRefundRates: 'data/get-sku-refund-rate',
},
},
dailySalesOverviewDays: [7, 14, 30, 60],
defaultCurrency: '$',
defaultRecordPerPage: 10,
defaultRecordSize: 30,
errors: {
dashboard: { maxComparisonDays: 'You can not compare more than 2 days' },
noData: 'No data available',
sales: { errorFetching: 'Error fetching sales' },
users: { loginError: 'Invalid Credentials', invalidToken: 'Invalid Token' },
},
maxComparisonDays: 2,
routes: { dashboard: '/dashboard' },
}
VITE_OPENAI_API_BASEURL=https://iapitest.eva.guru/
State Management
Efficient Development Workflow
To get started, clone the repository and run the development server:
git clone https://github.com/mustafacagri/vue3-highcharts-tailwind-boilerplate.git
cd vue3-highcharts-tailwind-boilerplate
yarn install
yarn dev
The application will be running at http://localhost:5018/. You can redefine the port in the vite.config.js file.