Coder Social home page Coder Social logo

xishanwawa / starter-kit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/web-starter-kit

0.0 1.0 0.0 7.23 MB

Web Starter Kit for Amaze UI.

Home Page: http://amazeui.org/

License: Apache License 2.0

HTML 38.31% JavaScript 56.45% CSS 5.23%

starter-kit's Introduction

Amaze UI 入门套件

Dependency Status devDependency Status

Amaze UI Starter Kit 是一个使用 Webpack、NPM 构建的前端开发工作流。通过该工作流,用户可以很方便地使用 Amaze UI 进行开发。

使用 Gulp + Browserify 版本见 browserify 分支

环境配置

安装完 Node.js 以后,打开命令行窗口:

  • 输入 node -v,应该显示类似 v4.4.5 的 Node.js 版本号;
  • 输入 npm -v,应该显示类似 2.15.5 的 NPM CLI 版本号。

如果以上信息没有正常显示,说明 Node.js 安装过程中遇到问题了。至于是要设置环境变量还是怎么的,请自行问度娘或股哥。

开始开发

获取 Amaze UI Starter Kit

可以通过两种方式:

  • 使用 Gitgit clone https://github.com/amazeui/starter-kit.git
  • 直接下载压缩包点击下载

Clone 完成(或者下载解压后)得到以下目录结构:

├── README.md
├── app           // 项目源文件目录
│   ├── humans.txt
│   ├── i         // 图片
│   ├── index.html
│   ├── js        // JS
│   ├── less      // Less
│   ├── manifest.json
│   ├── manifest.webapp
│   └── robots.txt
├── dist               // 构建目录
├── serve.js           // 开发服务器
├── webpack.config.js  // Webpack 配置
└── package.json       // 项目依赖等信息

安装依赖进行开发

在项目目录下执行 npm install,安装开发依赖。

任务说明:

  • npm start 启动开发、预览服务
  • npm run build 构建生产环境版本
  • npm run start-prod 构建生产环境版本并预览

使用问题请反馈至 issue

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.