switch to a fresh vue/vite project and appy just the basic sakai theme

This commit is contained in:
2023-01-25 20:55:24 -03:00
parent d9f45a4552
commit ae64fd8baf
361 changed files with 1706 additions and 354860 deletions

View File

@@ -1,4 +1,4 @@
# sakai-vue
# alai-frontend
This template should help get you started developing with Vue 3 in Vite.
@@ -13,23 +13,48 @@ See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
```sh
npm install
yarn
```
### Compile and Hot-Reload for Development
```sh
npm run dev
yarn dev
```
### Compile and Minify for Production
```sh
npm run build
yarn build
```
### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
yarn test:unit
```
### Run End-to-End Tests with [Playwright](https://playwright.dev)
```sh
# Install browsers for the first run
npx playwright install
# When testing on CI, must build the project first
yarn build
# Runs the end-to-end tests
yarn test:e2e
# Runs the tests only on Chromium
yarn test:e2e --project=chromium
# Runs the tests of a specific file
yarn test:e2e tests/example.spec.ts
# Runs the tests in debug mode
yarn test:e2e --debug
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
yarn lint
```