Learning VUE3 step by step with online tutorial: https://laracasts.com/series/learn-vue-3-step-by-step/
The code base is divide into 2 sections:
Basic Vue, introduction to the fundamental of Vue. Vue & Tailwind are pulled as CDN
- start client:
npm run start:client
- start server:
npm run start:server
- start the server and the client in a single command:
npm run start
-
tailwind.css -> for styling
-
json-server -> for mocking simple BE to simulate data fetching
- run json-server:
npx json-server [fileName] -p [customPortNum]
- run json-server:
Build a website
using Vue with Vite.
- For now only the basics so to keep it simple TS, JSX, test tools (unit & UI) are not covered
- The code base is in
vue-project
directory - Different approaches to state management:
- using local-storage
- use global store file
- use global store tool - pinia (official Vue state management tool)