Giter VIP home page Giter VIP logo

本站已开源

开源地址:

特性

Express作为服务器后台,使用ejs作为引擎模板,采用MVC开发模式。前端高度模块化,便于维护。

使用ES6,编码更轻松。

使用browser-sync实现跨终端浏览器同步测试工具,提高开发效率。

使用webpack打包文件,解决繁杂的项目依赖、文件处理等问题。通过webpack开发中间件,实现开发阶段快速打包文件到内存,避免长时间等待。

webpack样式文件独立打包。

使用bootstrap作为前端UI框架,并且通过webpack实现按需加载模块,节省网站流量。同时提供自定义修改,极大方便更改整站样式。

使用sass编写css,用最高效的方式,以少量的代码创建复杂的设计。

更多特性查看项目。

使用

1.安装nodejs

2.克隆项目

3.安装

npm i

项目目录

--root
	|--config				//配置文件
	|--middlewares			//中间件
	|--pubulic				//静态资源
	 |--js
	 |--css/sass
	 |--images
	|--router				//路由控制器
	|--tools				//工具
	 |--lib
	 |--webpack.config.js
	|--views				//视图文件
	 |--components
	|--package.json
	|--...

4.开发模式

npm run dev

启动服务成功之后进入localhost:3001 开发网址

5.构建

npm run build

将在根目录下创建build文件夹。build文件夹直接可以放到服务器上开启服务。

6.启动

进入bulid目录: npm start

hx2heng's Projects

abplayerhtml5 icon abplayerhtml5

Video Player for danmaku comments. ABPlayer in HTML5. ABPlayer核心构件以动态HTML编写的版本。向HTML5进发!HTML5弹幕播放器

animate.css icon animate.css

A cross-browser library of CSS animations. As easy to use as an easy thing.

ant-design-vue icon ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜

bootstrap icon bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

bootstrap-select icon bootstrap-select

:rocket: The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.

gitbook icon gitbook

📝 Modern documentation format and toolchain using Git and Markdown

motion icon motion

Motion is a javascript library based on Zepto for mobile

multer icon multer

Node.js middleware for handling `multipart/form-data`.

n-blog icon n-blog

使用 Express + MongoDB 搭建多人博客

ngx-datatable icon ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular

photoswipe icon photoswipe

JavaScript image gallery for mobile and desktop, modular, framework independent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.