/blog

Primary LanguageTypeScript

Blog

Used for the blog program on the github website

Installation

$ yarn install

Run

In the project directory, you can run:

$ yarn start

Runs the app in the development mode.
Paste http://localhost:9001 to view it in the browser, since the path has been copied automatically.

The page will reload if you make edits.
You will also see any lint errors in the console.

$ yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

$ yarn blog

Update blog's data, create blog-json files of the public/api/ folder from markdown files of the data folder.

$ yarn analysis

webpack-bundle-analyzer: A plugin and CLI utility that represents bundle content as a convenient interactive zoomable treemap.

License

ISC