refactor(ct-angular): disable analog plugin as it breaks component registration
This commit is contained in:
parent
c27a034d8a
commit
994bf21288
|
|
@ -29,6 +29,6 @@
|
|||
"@angular/cli": "~17.0.0",
|
||||
"@angular/compiler-cli": "^17.0.0",
|
||||
"typescript": "~5.2.0",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "~5.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import analogVitePlugin from '@analogjs/vite-plugin-angular';
|
||||
import angular from '@analogjs/vite-plugin-angular';
|
||||
import { defineConfig, devices } from '@playwright/experimental-ct-angular';
|
||||
import { resolve } from 'path';
|
||||
|
||||
|
|
@ -26,9 +26,6 @@ export default defineConfig({
|
|||
use: {
|
||||
trace: 'on-first-retry',
|
||||
ctViteConfig: {
|
||||
// plugins: [
|
||||
// ...analogVitePlugin()
|
||||
// ],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve('./src'),
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
<button (click)="submit.emit('hello')">{{title}}</button>
|
||||
|
|
@ -3,7 +3,9 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|||
@Component({
|
||||
standalone: true,
|
||||
selector: 'button-component',
|
||||
templateUrl: './button.component.html',
|
||||
template: `
|
||||
<button (click)="submit.emit('hello')">{{title}}</button>
|
||||
`
|
||||
})
|
||||
export class ButtonComponent {
|
||||
@Input() title!: string;
|
||||
|
|
|
|||
Loading…
Reference in a new issue