This is a Nuxt.js application built with Pinia for state management, Axios for HTTP requests, and Tailwind CSS for styling.
To run this application locally, follow these steps:
- Node.js installed on your machine (version 14.x or higher)
- npm or yarn package manager
- Clone this repository to your local machine
git clone https://github.com/Danztee/ecommerce-pos.git
-
Navigate into the project directory:
-
Install dependencies using npm or yarn:
npm install
or
yarn install
Once the dependencies are installed, you can run the application in development mode with the following command:
npm run dev
or
yarn dev
This will start the development server and you should be able to access the application at http://localhost:3000
in your web browser.
To build the application for production, you can use the following command:
npm run build
or
yarn build
This will generate a production-ready build of your application in the dist
directory.
If you want to generate static files for hosting your application, you can use the following command:
npm run generate
or
yarn generate
This will create a dist
directory containing all the static files that can be deployed to any static hosting service.
- @pinia/nuxt: ^0.5.1
- axios: ^1.6.7
- nuxt: ^3.10.3
- pinia: ^2.1.7
- vue: ^3.4.19
- vue-router: ^4.3.0
- autoprefixer: ^10.4.18
- postcss: ^8.4.35
- tailwindcss: ^3.4.1