This template should help get you started developing with Vue 3 & DDD Pattern.
VSCode + Volar (and disable Vetur)
Package | |
---|---|
Vue 3 | ✅ |
Tailwind | ✅ |
PostCSS | ✅ |
Vite | ✅ |
Vitest | ✅ |
Axios | ✅ |
Pinia | ✅ |
JS Base | ✅ |
npm install # pnpm/yarn install
npm run dev # pnpm/yarn dev
npm run build # pnpm/yarn build
Run Unit Tests with Vitest
npm run test:unit # pnpm/yarn test:unit
Lint with ESLint
npm run lint # pnpm/yarn lint
/src
/modules
/app # global
/ui
/components
/store
/router
/constant
/assets
...
/otherModules # feature
/ui
/components
/store
otherModules.store.js
/routes
otherModules.route.js
/constant
otherModules.constant.js
/assets
...
/plugins
/tests
/unit