Giter Club home page Giter Club logo

i's Introduction

单页面SPA with Vue.js

Overview

基于 Vue.js框架部署的单页面web应用程序。

同时,模块以nodejs风格编码并使用ES6语法,显得编码更加简洁易懂。

ES6

通过 babel 预编译 ES6 语法的js。而vue文件已经默认对ES6进行预编译。那么意味着可以通过ES6 语法来编写js和vue文件。见babelvue-loader 配置和使用。

SVG sprites

通过 webpack 的加载器 svg-sprite-loader 引用svg文件。

Usage

	$ bower install # install bower package for first
	$ npm install # install npm package for first
	$ npm run build # build for dev

	$ NODE_ENV=production npm run build # build for product/release
	$ npm run server # go to the URL: http://localhost
	$ npm run watch # extra watch files

*Note: 对于本项目的自动发布流程脚本,大多数情况只适用当前部署环境

Plugin

  • vue-router Vue.js 官方路由。与 Vue.js 内核深度整合,让构建单页应用易如反掌。
  • vue-resource 通过 XMLHttpRequest 或 JSONP 发起请求并处理响应。

i's People

Contributors

imjeen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

i's Issues

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.