Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dyslab/wp-site-biz

Webpack medium/small biz static website demo project / 中小企业静态网站示例项目 :sunny:
https://github.com/dyslab/wp-site-biz

static-website template webpack4

Last synced: 24 days ago
JSON representation

Webpack medium/small biz static website demo project / 中小企业静态网站示例项目 :sunny:

Awesome Lists containing this project

README

        

# wp-site-biz: A static website template for midsize / small business powered by Webpack

![GitHub package.json version](https://img.shields.io/github/package-json/v/dyslab/wp-site-biz?style=plastic)   [![Webpack v4](./assets/webpack-v4.svg)](https://www.webpackjs.com/)   [![Pug v2](./assets/pug-v2.svg)](https://pugjs.org/)

## Intro 项目简介

Webpack 静态网站生成演示项目,可适用于中小型企业网站。

本项目 GitHub Page 演示链接: [https://dyslab.github.io/wp-site-biz/dist/](https://dyslab.github.io/wp-site-biz/dist/)

另参见:[新闻页面新增与维护说明](src/news/README.md)

## Local Web Server Hosting

```bash
npm start # Start local web server by nodemon

npm run start:pm2 # Start local web server by pm2

npm run dev # Start local web server by webpack-dev-server
```

## Build & Deploy

```bash
npm run build

# Deployed destination folder: ./dist/
```

> IMPORTANT NOTES:
>
> The folder `./dist/` contains all css and fonts file etc., manually maintained by the user.
> It is NOT merely a folder automatically generated by Webpack. Therefore, **REMOVE ACTION PROHIBITED!**