playwright/tests/components/ct-vue-vite
Dmitry Gozman f17d345ac9
fix(ct): support empty fragments (#17475)
Currently, we ues `#root` vs `#root > *` selector for component roots
depending on the number of root children. This heuristic detects
fragments that render multiple elements inside the root.

However, this does not work with empty fragments that do not render
anything.

The fix is to make the `#root >> control=component` selector that would
dynamically detect the root. This supports empty fragments and also
allows for dynamic updates of the fragments.
2022-09-21 15:12:18 -07:00
..
playwright feat(ct): allow configuring apps per test (#15551) 2022-07-12 09:37:33 -07:00
public chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
src fix(ct): support empty fragments (#17475) 2022-09-21 15:12:18 -07:00
.eslintignore chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
.gitignore fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
index.html chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
package.json feat(ct): support Vue2 (#14600) 2022-06-02 17:37:43 -07:00
playwright.config.ts chore: add more ct options to allow redirecting templates/cache (#14077) 2022-05-10 12:21:29 -07:00
README.md chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
vite.config.js chore: group tests under tests/ (2) (#13082) 2022-03-25 23:09:02 -07:00
vue.d.ts fix(ct): vue import errors (#17066) 2022-09-08 08:37:38 -07:00

ct1

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build