/nuxt-bank-green

Primary LanguageVueOtherNOASSERTION

Running at https://bank.green

Setup

Install dependencies: npm i

Development

npm run dev

Deployment

We need wrangler, the Cloudflare worker CLI. Install wrangler: npm i -g wrangler

Login: wrangler login

Build the server with wrangler npm run build

Preview the server with local wrangler npm run preview

Publish to test.bank.green (run after building) npm run stage

Publish to bank.green npm run publish

CMS with Prismic

⚠️ IMPORTANT ⚠️

DO NOT USE the dashboard (web) interface to create or modify custom types!

Always use the Slice Machine tool from your local for creating and editing custom types and slices.

npm run slicemachine

When pushing changes from Slice Machine, make sure only items that you are working on will get updated. If the changes shown in Slice Machine include deleting items, verify with the team to see if these items are safe to delete. Deleting a custom type may delete the associated content which will not be recoverable.

Read the Prismic & Nuxt docs to understand how to use Prismic with Nuxt.