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