Skip to content

Latest commit

 

History

History
executable file
·
29 lines (20 loc) · 414 Bytes

README.md

File metadata and controls

executable file
·
29 lines (20 loc) · 414 Bytes

Setup New Component

Replace REPOSLUG with your repo slug.

Develop

cp test/.env.example test/.env
npm i
npm run dev
open http://localhost:3000/

Deploy

npm run build
npm run deploy

Clear CDN

Goto https://app.keycdn.com/zones/purgeurl/$id and enter:

/s3/republik-assets/dynamic-components/REPOSLUG/index.js

If you change asset files be sure to purge those too.