4 changed files with 9 additions and 14 deletions
@ -1,8 +1,10 @@ |
|||||||
import { initAll } from "govuk-frontend"; |
import GOVUKFrontend from "govuk-frontend"; |
||||||
|
import GOVUKPrototypeComponents from "govuk-prototype-components" |
||||||
import { Controller } from "@hotwired/stimulus"; |
import { Controller } from "@hotwired/stimulus"; |
||||||
|
|
||||||
export default class extends Controller { |
export default class extends Controller { |
||||||
connect() { |
connect() { |
||||||
initAll() |
GOVUKFrontend.initAll() |
||||||
|
GOVUKPrototypeComponents.initAll() |
||||||
} |
} |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue