chore: add @tailwindcss/postcss and PostCSS setup for Tailwind v4
This commit is contained in:
parent
40c249264c
commit
1cee60953e
17 changed files with 263 additions and 7 deletions
10
tests/e2e/example.spec.ts
Normal file
10
tests/e2e/example.spec.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { test, expect } from '@playwright/test'
|
||||
|
||||
test('happy path: home loads and increments', async ({ page }) => {
|
||||
await page.goto('/')
|
||||
await expect(page.getByRole('heading', { name: 'Welcome' })).toBeVisible()
|
||||
await page.getByRole('button', { name: /Increment/ }).click()
|
||||
await expect(page.getByText(/Count: 1/)).toBeVisible()
|
||||
})
|
||||
|
||||
|
||||
9
tests/example.spec.ts
Normal file
9
tests/example.spec.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { describe, it, expect } from 'vitest'
|
||||
|
||||
describe('math', () => {
|
||||
it('adds', () => {
|
||||
expect(1 + 1).toBe(2)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue