🔗URL: https://shurintou.github.io
This is my blog project which was developed by React and built by npm run build
.
Here is the project for development.
The project can config design theme by using craco, to try this, please modify the craco.config.ts
file in the development project.
All posts of the blog are stored as Github issue, and comments are synchronized by Gitalk.
The UI parts of the blog can be displayed in three languages(English
, Simplified Chinese
and Japanese
) by changing the setting, and each languages has its original post contents.
Though the project is developed as a single page application(SPA
), the browserHistory can totally work at each operation you have made, and copying an URL can get the exact same result as the copied one.
Posts can be filtered by categories
(memo, technic, ...), tags
(Java, Javascript, ...), and languages
(English, Japanese, Chinese), or searched by any keyword you are interested.
This project is automatically deployed by Github Pages.
Because the project was developed as a SPA project, the 404.html
need to exactly be the same as the index.html
in the project.
This shell file is written to replace built files such as main.12345678.js
more conveniently.
To use it, place the development project and the production project like below,
|-- DevProject
|-- build
...
|-- ProdProject
|-- build.shell
...
After run npm run build
in the development project, run the build.shell
in the production project, done!