Coder Social home page Coder Social logo

diary's People

Contributors

manxisuo avatar isuyun avatar

Watchers

James Cloos avatar

Forkers

manxisuo

diary's Issues

关于

今天在V2EX上看到一个有趣的东西:用GitHub的Issues写日记,然后使用GitHub Pages做前端,将日记内容展示出来。读取日记内容时,应该是用了GitHub API。

其实我之前也有类似的想法,不过想到GitHub Pages的域名是github.io,在前端访问api.github.com应该存在跨域限制,应该不好实现,所以没有继续研究。等有时间研究一下。

webpack学习

1. 使用Babel

npm install babel-loader babel-core babel-preset-es2015 webpack --save-dev

在webpack.config.js中:

module: {
  loaders: [
    {
      test: /\.js$/,
      exclude: /(node_modules|bower_components)/,
      loader: 'babel-loader',
      query: {
        presets: ['es2015']
      }
    }
  ]
}

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.