spboyer / vue-shopping-cart

A bare bones shopping cart implementation with Vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-shopping-cart

Project setup

Install WSL using on Windows. You will likely need to reboot.

wsl.exe --install

Once WSL is installed install NodeJS v16. I recommend installing NVM: https://tecadmin.net/how-to-install-nvm-on-ubuntu-20-04/

Then cd to this folder and install the node packages here:

npm install

Lastly install an editor to edit these files like gVim:

sudo apt install vim-gtk3 -y

Then run gvim to edit things:

gvim ./src/App.vue

Then you can start your dev server and access the website!

npm run serve

Testing with playwright

Install playwright from here:

https://playwright.dev/docs/intro

Make sure to install MSEdge

npx playwright install msedge

Then run the tests by running:

npx playwright test

Or to see what it's doing:

npx playwright test --headed

About

A bare bones shopping cart implementation with Vue


Languages

Language:JavaScript 43.5%Language:Vue 41.2%Language:Dockerfile 9.6%Language:HTML 5.7%