Skip to content

hannalaakso/webpack-govuk-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack with GOV.UK Frontend

This project demonstrates how to compile GOV.UK Frontend JavaScript using Webpack.

To build webpack

npm run build

To run

npx http-server

ES6 imports for GOV.UK Frontend components

If importing individual components from a directory, use

import { Accordion } from 'govuk-frontend-fake';

If from individual file, use:

import Accordion from 'govuk-frontend-fake/govuk/components/accordion/accordion';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published