Code Monkey home page Code Monkey logo

quickstart-homepage's Introduction

快速开始框架-搭建官网

本框架是一套完全免费的开始框架,能让您再此代码基础上快速搭建一个简单的产品官网。

您可以完全免费的使用此框架,并且可以随便修改,如果您在使用过程中遇到任何问题,欢迎随时留言,我会尽力帮助解答。如果您觉得本框架对您有帮助,希望能给我一个 Star,谢谢。

核心**

SPA - Single Page Application - 单页面应用

查看示例:http://www.night123.com/quickstart-homepage

开发原则

  • 分模块开发
  • 基于JS模板机制

浏览器兼容

  • IE7+
  • Chrome/Firefox/Safari

插件应用

核心插件

  • RequireJs.js - AMD模块加载器
  • jQuery.js - Js引擎
  • Ejs.js - Js模板
  • Sass - CSS开发引擎
  • SassCore - Sass框架

兼容插件

  • html5shiv.js - H5标签兼容
  • respond.min.js - CSS3媒体查询兼容

应用插件

  • sliders - 容器左右滑动组件

目录结构


-- lib
-- res
	-- css
	-- data
	-- img
	-- js
		-- app                     // 业务模块js目录
		-- common            // 公共js
		main.js
-- tmpl
	-- app                           // 业务html模板目录
	-- header.ejs
	-- footer.ejs
-- app.js
-- index.html

快速开始

  1. 下载源码,放到 Apache 等容器中,运行查看框架示例
  2. res/js/app 中新建业务模块js,在需要的地方 require
  3. tmpl/app 中新建业务模块html模板,在需要初始化的时候,使用Js模板引入渲染

quickstart-homepage's People

Contributors

sunmaobin avatar

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.