Skip to content

bank-green/nuxt-bank-green

Repository files navigation

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

Tests

Unit Tests/Integration Tests

All test cases are located at directory __tests __

To run tests npm run test

e2e Tests: WIP

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published