Skip to content
Permalink
Browse files

feat: update project struct

change electron-vue to Vue CLI Plugin Electron Builder & update icon
  • Loading branch information
EryouHao committed Jan 2, 2019
1 parent d75fc51 commit d09dd8e56451758588370bb728864f1a39c164e9
Showing with 11,841 additions and 16,210 deletions.
  1. +0 −39 .babelrc
  2. +3 −0 .browserslistrc
  3. +0 −130 .electron-vue/build.js
  4. +0 −40 .electron-vue/dev-client.js
  5. +0 −179 .electron-vue/dev-runner.js
  6. +0 −80 .electron-vue/webpack.main.config.js
  7. +0 −175 .electron-vue/webpack.renderer.config.js
  8. +0 −136 .electron-vue/webpack.web.config.js
  9. +23 −10 .gitignore
  10. +0 −43 .travis.yml
  11. +22 −21 README.md
  12. +0 −33 appveyor.yml
  13. +5 −0 babel.config.js
  14. BIN build/icons/256x256.png
  15. BIN build/icons/icon.icns
  16. BIN build/icons/icon.ico
  17. 0 dist/electron/.gitkeep
  18. 0 dist/web/.gitkeep
  19. +6,791 −9,873 package-lock.json
  20. +40 −139 package.json
  21. +5 −0 postcss.config.js
  22. BIN {build/icons → public/app-icons}/logo-256x256.icns
  23. BIN {build/icons → public/app-icons}/logo-256x256.ico
  24. BIN {build/icons → public/app-icons}/logo-256x256.png
  25. BIN public/app-icons/logo-fang2.icns
  26. BIN public/app-icons/logo.icns
  27. BIN public/app-icons/logo.ico
  28. BIN public/app-icons/logo.png
  29. 0 {src → public}/default-files/config/posts.json
  30. 0 {src → public}/default-files/config/setting.json
  31. 0 {src → public}/default-files/config/theme.json
  32. 0 {src → public}/default-files/posts/hello-hve.md
  33. +26 −0 public/default-files/themes/notes/assets/styles/abstracts/varibles.less
  34. +3 −0 public/default-files/themes/notes/assets/styles/components/about.less
  35. +5 −0 public/default-files/themes/notes/assets/styles/components/footer.less
  36. +23 −0 public/default-files/themes/notes/assets/styles/components/header.less
  37. +49 −0 public/default-files/themes/notes/assets/styles/components/home.less
  38. +72 −0 public/default-files/themes/notes/assets/styles/components/post.less
  39. +8 −0 public/default-files/themes/notes/assets/styles/components/tag.less
  40. +0 −6 ...s/assets/styles/lib/github.styl → public/default-files/themes/notes/assets/styles/lib/github.less
  41. 0 ...modern-normalize.styl → public/default-files/themes/notes/assets/styles/lib/modern-normalize.less
  42. +66 −0 public/default-files/themes/notes/assets/styles/main.less
  43. 0 {src → public}/default-files/themes/notes/templates/about.pug
  44. +7 −0 public/default-files/themes/notes/templates/includes/footer.ejs
  45. +10 −0 public/default-files/themes/notes/templates/includes/head.ejs
  46. +21 −0 public/default-files/themes/notes/templates/includes/header.ejs
  47. +8 −0 public/default-files/themes/notes/templates/includes/pagination.ejs
  48. +25 −0 public/default-files/themes/notes/templates/includes/post-list.ejs
  49. +18 −0 public/default-files/themes/notes/templates/index.ejs
  50. +0 −16 {src → public}/default-files/themes/notes/templates/layouts/default.pug
  51. +46 −0 public/default-files/themes/notes/templates/post.ejs
  52. +20 −0 public/default-files/themes/notes/templates/tag.ejs
  53. BIN public/favicon.ico
  54. +17 −0 public/index.html
  55. +7 −5 src/{renderer → }/App.vue
  56. BIN src/assets/logo.png
  57. +94 −0 src/background.ts
  58. +0 −26 src/default-files/themes/notes/assets/styles/abstracts/varibles.styl
  59. +0 −2 src/default-files/themes/notes/assets/styles/components/about.styl
  60. +0 −4 src/default-files/themes/notes/assets/styles/components/footer.styl
  61. +0 −18 src/default-files/themes/notes/assets/styles/components/header.styl
  62. +0 −44 src/default-files/themes/notes/assets/styles/components/home.styl
  63. +0 −58 src/default-files/themes/notes/assets/styles/components/post.styl
  64. +0 −6 src/default-files/themes/notes/assets/styles/components/tag.styl
  65. +0 −55 src/default-files/themes/notes/assets/styles/main.styl
  66. +0 −1 src/default-files/themes/notes/templates/includes/footer.pug
  67. +0 −9 src/default-files/themes/notes/templates/includes/header.pug
  68. +0 −5 src/default-files/themes/notes/templates/includes/pagination.pug
  69. +0 −13 src/default-files/themes/notes/templates/includes/post-list.pug
  70. +0 −7 src/default-files/themes/notes/templates/index.pug
  71. +0 −19 src/default-files/themes/notes/templates/post.pug
  72. +0 −9 src/default-files/themes/notes/templates/tag.pug
  73. +3 −3 src/helpers/content-helper.ts
  74. +2 −2 src/helpers/enums.ts
  75. +20 −19 src/helpers/slug.ts
  76. +0 −22 src/index.ejs
  77. 0 src/{renderer → }/interfaces/menu.ts
  78. 0 src/{renderer → }/interfaces/post.ts
  79. 0 src/{renderer → }/interfaces/setting.ts
  80. +1 −1 src/{renderer → }/interfaces/snackbar.ts
  81. 0 src/{renderer → }/interfaces/tag.ts
  82. 0 src/{renderer → }/interfaces/theme.ts
  83. +6 −9 src/{renderer → }/main.ts
  84. +0 −28 src/main/index.dev.ts
  85. +0 −99 src/main/index.ts
  86. 0 src/renderer/assets/.gitkeep
  87. BIN src/renderer/assets/logo.png
  88. +18 −10 src/{renderer/router/index.js → router.ts}
  89. +45 −29 src/server/app.ts
  90. 0 src/server/events/{index.js → index.ts}
  91. +2 −2 src/server/events/menu.ts
  92. +1 −1 src/server/events/post.ts
  93. +1 −1 src/server/events/renderer.ts
  94. +1 −1 src/server/events/setting.ts
  95. +1 −1 src/server/events/site.ts
  96. +2 −2 src/server/events/tag.ts
  97. +2 −2 src/server/events/theme.ts
  98. +1 −1 src/server/interfaces/application.ts
  99. +2 −1 src/server/interfaces/post.ts
  100. +1 −1 src/server/interfaces/renderer.ts
  101. +3 −3 src/server/menus.ts
  102. +4 −5 src/server/model.ts
  103. +8 −7 src/server/posts.ts
  104. +46 −44 src/server/renderer.ts
  105. +2 −2 src/server/setting.ts
  106. +5 −5 src/server/tags.ts
  107. +2 −1 src/server/theme.ts
  108. +13 −0 src/shims-tsx.d.ts
  109. +4 −0 src/shims-vue.d.ts
  110. 0 src/{electron.d.ts → shims.d.ts}
  111. +1 −1 src/{renderer → }/store/index.ts
  112. +2 −2 src/{renderer → }/store/modules/site.ts
  113. +0 −3 src/typings/junk.d.ts
  114. +24 −22 src/{renderer/components → views}/article/ArticleUpdate.vue
  115. +1 −1 src/{renderer/components → views}/article/Articles.vue
  116. +3 −3 src/{renderer/components → views}/menu/Index.vue
  117. 0 src/{renderer/components → views}/setting/Index.vue
  118. +3 −2 src/{renderer/components → views}/tags/Index.vue
  119. +2 −1 src/{renderer/components → views}/theme/Index.vue
  120. +5 −5 src/{renderer → }/vue-bus.ts
  121. +0 −4 src/vue.d.ts
  122. 0 static/.gitkeep
  123. BIN static/v.png
  124. +0 −11 test/.eslintrc
  125. +0 −18 test/e2e/index.js
  126. +0 −13 test/e2e/specs/Launch.spec.js
  127. +0 −23 test/e2e/utils.js
  128. +0 −13 test/unit/index.js
  129. +0 −62 test/unit/karma.conf.js
  130. +0 −13 test/unit/specs/LandingPage.spec.js
  131. +35 −6 tsconfig.json
  132. +13 −13 tslint.json
  133. +23 −0 vue.config.js
  134. +4,119 −4,491 yarn.lock

This file was deleted.

@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d09dd8e

Please sign in to comment.
You can’t perform that action at this time.