Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 4, 2023. It is now read-only.

Webpack template/example with multiple static html pages

License

NotificationsYou must be signed in to change notification settings

ivarprudnikov/webpack-static-html-pages

Repository files navigation

CIjs-standard-styleGitHub issuesGitHub last commit

This is a forkable example of a static website (plain html/css/javascript)assembled with webpack. You could also use this repository as a template when creating a new one.

Article explaining how this example was created:https://www.ivarprudnikov.com/static-website-multiple-html-pages-using-webpack-plus-github-example/

  • Webpack4 implementation can still be found on a separate branchwebpack4

Prerequisites

Development

  • npm i - install dependencies
  • npm start - start development server
  • npm test - run minimal tests (eg: lint javascript files)
  • npm run cy:run - run Cypress functional/browser/e2e tests. Works only when running website locally (npm start ornpm run preview)

Production

  • npm run build to preparehtml,css,js files indist/ directory
  • npm run preview - run build and serve production files locally

Production build is built onTravis CI and saved ingh-pages branch which in turn is hosted through Github pageshttps://ivarprudnikov.github.io/webpack-static-html-pages/

Credits

About

Webpack template/example with multiple static html pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp