Skip to content
This repository has been archived by the owner. It is now read-only.
The frontend for the app version of https://copythat.io
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
hooks
lib
pages
schema
static
types
.babelrc
.eslintrc.js
.gitignore
.nowignore
LICENSE
README.md
config.ts
copy-that-front.sketch
jest.config.js
next.config.js
now.json
package.json
todo.md
tsconfig.json
tslint.json
yarn.lock

README.md

copy-that-front

The frontend for the app version of https://copythat.io

Usage

  • yarn dev to dev
  • yarn build to build into ./next directory
  • yarn start to run the build
  • now to deploy (runs automatically from master branch of this github repo)

Adding Posts

  1. Write your post in markdown
  2. Add it as a .mdx file in /pages/posts with the name of the file matching the url of the post.
  3. Add a .tsx file with the same name and add meta data and export a react component to render using the content from the MDX file. Meta is typed to help you. See other posts for examples.

Analysing bundle size

  • yarn analyse builds an html file that will open automatically in your browser to visualise your dependencies (uses Webpack Bundle Analyzer).
  • There is also a stats file generated at .next/server/stats.json.
You can’t perform that action at this time.