Skip to content

Megrax/my-juejin

Repository files navigation

my-juejin

Description

A super tiny juejin app.

React + TypeScript + TailwindCSS + Vite + pnpm

Available Scripts

In the project directory, you can run:

pnpm install

This installs all the dependencies.

pnpm dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

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

pnpm build

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

pnpm serve

The command will boot up local static web server that serves the files from dist at http://localhost:5000. It's an easy way to check if the production build looks OK in your local environment.