├── .gitignore ├── .npmrc ├── .nvmrc ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── README.md ├── README.zh-CN.md ├── __test__ └── component.spec.ts ├── env.d.ts ├── eslint.config.js ├── index.html ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── postinstall.js ├── src ├── TemplateComponent.vue ├── index.ts └── props.ts ├── tests ├── .gitignore ├── scripts │ └── switchVueTestUtils.ts ├── setup.ts └── utils │ ├── v2 │ └── vueTestUtils.ts │ └── v3 │ └── vueTestUtils.ts ├── tsconfig.base.json ├── tsconfig.json ├── tsconfig.node.json ├── tsconfig.web.json ├── vite.base.config.ts ├── vue2-playground ├── App.vue ├── index.html ├── main.ts ├── package.json ├── public │ └── favicon.ico └── vite.config.ts ├── vue2.7-playground ├── App.vue ├── index.html ├── main.ts ├── package.json ├── public │ └── favicon.ico └── vite.config.ts └── vue3-playground ├── App.vue ├── index.html ├── main.ts ├── package.json ├── public └── favicon.ico └── vite.config.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/.npmrc -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.13.1 -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["johnsoncodehk.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/README.md -------------------------------------------------------------------------------- /README.zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/README.zh-CN.md -------------------------------------------------------------------------------- /__test__/component.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/__test__/component.spec.ts -------------------------------------------------------------------------------- /env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/env.d.ts -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/postinstall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/scripts/postinstall.js -------------------------------------------------------------------------------- /src/TemplateComponent.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/src/TemplateComponent.vue -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/props.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/src/props.ts -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/scripts/switchVueTestUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tests/scripts/switchVueTestUtils.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/utils/v2/vueTestUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tests/utils/v2/vueTestUtils.ts -------------------------------------------------------------------------------- /tests/utils/v3/vueTestUtils.ts: -------------------------------------------------------------------------------- 1 | export * from '@vue/test-utils'; 2 | -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /tsconfig.web.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/tsconfig.web.json -------------------------------------------------------------------------------- /vite.base.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vite.base.config.ts -------------------------------------------------------------------------------- /vue2-playground/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/App.vue -------------------------------------------------------------------------------- /vue2-playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/index.html -------------------------------------------------------------------------------- /vue2-playground/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/main.ts -------------------------------------------------------------------------------- /vue2-playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/package.json -------------------------------------------------------------------------------- /vue2-playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/public/favicon.ico -------------------------------------------------------------------------------- /vue2-playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2-playground/vite.config.ts -------------------------------------------------------------------------------- /vue2.7-playground/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/App.vue -------------------------------------------------------------------------------- /vue2.7-playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/index.html -------------------------------------------------------------------------------- /vue2.7-playground/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/main.ts -------------------------------------------------------------------------------- /vue2.7-playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/package.json -------------------------------------------------------------------------------- /vue2.7-playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/public/favicon.ico -------------------------------------------------------------------------------- /vue2.7-playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue2.7-playground/vite.config.ts -------------------------------------------------------------------------------- /vue3-playground/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/App.vue -------------------------------------------------------------------------------- /vue3-playground/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/index.html -------------------------------------------------------------------------------- /vue3-playground/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/main.ts -------------------------------------------------------------------------------- /vue3-playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/package.json -------------------------------------------------------------------------------- /vue3-playground/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/public/favicon.ico -------------------------------------------------------------------------------- /vue3-playground/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChuHoMan/vue-demi-component-template/HEAD/vue3-playground/vite.config.ts --------------------------------------------------------------------------------