- The main project folder that for learning, practicing and passing assignment of VueJS Fundamentals Company's Internal Course
- This template should help get you started developing with Vue 3 in Vite.
- Demo here
- An eCommerce web application build by VueJS 3
- Global state management using Pinia
- Using public API by Fake Store API
- Etcetera
- User authentication: Allows users to create an account, login
only accepts accounts provided by FakeStoreAPI
and manage their profile. - Product catalog: Has a catalog of all the available products for sale. The catalog should include a picture of each product, its name, price, and a brief description.
- Shopping cart: Allows users to add products to their shopping cart, view their cart, and checkout when ready.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.
See Vite Configuration Reference.
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint