Skip to content

miniShop is an open source project that tries to show the features and methods of using nuxt 3, type script, tailwind,pinia, etc,in different aspects of an online shop project

Notifications You must be signed in to change notification settings

atenazr/miniShop

Repository files navigation

miniShop

miniShop is an open source project that tries to show the features and methods of using nuxt 3, type script, tailwind,pinia, etc,in different aspects of an online shop project. Currently, this project is not complete, but it will be updated over time.

If you are using Nuxt 2, check this link.

Features

By using composition API and the yup package, we create a validation composable that receives a yup schema as an argument and then declares values and errors objects to use in form validation. Functions validate and validateAll are used to evaluate single fields and the overall evaluation of a form, respectively.

usage

by using pinia and type script, a state management is created to call APIs and load fake data from the server.

next features

These features will be added soon: Update using Fetch and useFetch, styling and adding content to privacy page, connecting contactUs form to server, adding addProduct page,adding auth page and defining user access permissions,...

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on https://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information. Look at the Nuxt 3 documentation to learn more.

About

miniShop is an open source project that tries to show the features and methods of using nuxt 3, type script, tailwind,pinia, etc,in different aspects of an online shop project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published