isuyun / diary Goto Github PK
View Code? Open in Web Editor NEW为@manxisuo的Issues博客提供一个Web界面
Home Page: https://isuyun.github.io/diary
为@manxisuo的Issues博客提供一个Web界面
Home Page: https://isuyun.github.io/diary
今天在V2EX上看到一个有趣的东西:用GitHub的Issues写日记,然后使用GitHub Pages做前端,将日记内容展示出来。读取日记内容时,应该是用了GitHub API。
其实我之前也有类似的想法,不过想到GitHub Pages的域名是github.io,在前端访问api.github.com应该存在跨域限制,应该不好实现,所以没有继续研究。等有时间研究一下。
233333333333
哈哈哈
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']
}
}
]
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.