Skip to content

Badalik/webpack-template

Repository files navigation

Webpack template

Webpack template for quick start with Typescript for scripts, Pug for templates and SCSS for styles. Eslint is used for linting scripts and Stylelint used for linting scss.

Install

npm install --legacy-peer-deps

If you get an error with ajv then run the command

npm dedupe --force

Pages

The pages are located in the src/app/pages and are added automatically to the build.

Blocks

To add blocks (pug mixin + scss + script), you need to add them to the src/app/blocks and add @forward to the src/app/blocks/_index.scss

SVG Sprite

The sprite is build automatically when the application is launched from the folder src/icons. To manually build a sprite, run the command:

npm run icons

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published