├── tests
├── add.ts
├── hello.spec.ts
└── index.spec.ts
├── .vscode
└── extensions.json
├── src
├── store.ts
├── components
│ ├── HelloWorld.vue
│ ├── Hello.tsx
│ ├── __tests__
│ │ └── HelloWorld.cy.ts
│ └── Stepper.vue
├── vite-env.d.ts
├── views
│ ├── index.ts
│ ├── About.vue
│ ├── Home.vue
│ └── __tests__
│ │ └── Home.cy.ts
├── main.ts
├── router.ts
├── assets
│ └── vue.svg
├── App.vue
├── stores
│ └── counter.ts
└── style.css
├── cypress
├── fixtures
│ └── example.json
├── support
│ ├── component-index.html
│ ├── e2e.ts
│ ├── commands.ts
│ └── component.ts
└── e2e
│ └── 1-getting-started
│ └── todo.cy.js
├── tsconfig.node.json
├── .gitignore
├── index.html
├── README.md
├── cypress.config.ts
├── dist
├── index.html
├── vite.svg
└── assets
│ └── index.f40e0b9d.js
├── vite.config.ts
├── tsconfig.json
├── package.json
├── public
└── vite.svg
└── .github
└── workflows
├── ci.yml
└── cd.yml
/tests/add.ts:
--------------------------------------------------------------------------------
1 |
2 |
3 | export function add (a,b) {
4 | return a + b
5 | }
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": ["Vue.volar"]
3 | }
4 |
--------------------------------------------------------------------------------
/src/store.ts:
--------------------------------------------------------------------------------
1 | import { createPinia } from "pinia";
2 | export const pinia = createPinia();
3 |
--------------------------------------------------------------------------------
/src/components/HelloWorld.vue:
--------------------------------------------------------------------------------
1 |
2 |
6 | 一步到位 直接开写你的应用 项目配置全部帮你搞定 7 |
8 |