Coder Social home page Coder Social logo

ma63d / leetcode-viewer Goto Github PK

View Code? Open in Web Editor NEW
219.0 219.0 35.0 3.06 MB

用无后台、纯前端的单页应用来分享、呈现你的leetcode源码吧!

JavaScript 41.90% HTML 0.50% Vue 44.34% CSS 12.98% Shell 0.28%
blog github-page leetcode vue

leetcode-viewer's People

Contributors

ma63d avatar xingbofeng 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

leetcode-viewer's Issues

关于您项目中所用UI界面

您好,您写的项目非常不错;
我发现很多网站的界面都类似于您这个项目中所用的UI页面,是有模板可以直接套用的么?

leetcode-spider能否默认生成post.md

在sf上看了文章后抽空尝试了一下,效果很棒。但是在缺失post.md的情况下,控制台会显示service错误信息/(ㄒoㄒ)/~~。
建议lc-spider可以生成一个默认格式或者空的post.md。b( ̄▽ ̄)d

npm run build error

C:\MyFile\LeetCodeViewer\leetcode-viewer>npm run build

[email protected] build C:\MyFile\LeetCodeViewer\leetcode-viewer
node build/build.js

Tip:
Built files are meant to be served over an HTTP server.
Opening index.html over file:// won't work.

  • building for production...C:\MyFile\LeetCodeViewer\leetcode-viewer\build\build.js:21
    var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
    ^

TypeError: Cannot read property 'assetsRoot' of undefined
at Object. (C:\MyFile\LeetCodeViewer\leetcode-viewer\build\build.js:21:41)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\shushu\AppData\Roaming\npm-cache_logs\2018-05-22T09_11_49_811Z-debug.log

sidebar没做router exact

我在你的leetcode上,当点击左侧第100条时,第1条和第10条也会是active的,另:我也正参照VUE官网做博客呢,也参照了你的博客,谢谢了

image

多说不能用了

多说关闭了,请问有计划支持其他评论吗?我不熟悉vue,自己改阻力有点大。

生成的单页应用不显示数据


生成的单页应用一直在Loading,不知道是我爬来的源码放错了位置还是怎么,下面是build配置

build.conf.js

module.exports = {
  sourcePath: './solutions/',
  author: 'Frank Zhuang',
  language: 'zh',
  // gitRepo: 'https://github.com/Ma63d/leetcode',
  duoShuoPlugin: false,
  duoShuoShortName: ''
}

在空文件夹(例如叫newFolder)下执行lc-spider,源码会被放到solutions文件夹内,那我是把新生成的solutions内的源码放到viewer的solutions文件夹中,还是把newFolder内的所有文件(包括solutions文件夹)放到viewer的solutions文件夹中?

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.