This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@nlo/frontend-common
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Common package for Nuxt3 front-end websites of NLO

The purpose of this package is to provide tooling and runtime utilities to make developing a front-end for NLO websites easier.

Generating ssl certificates

SSL certificates are required to run Nuxt3 locally on SSL. To generate these certificates, use the following command: npx generate-ssl-certificates.js --dir secrets

This will create two files in the provided secrets folder. These certificates can be used when starting up Nuxt in development mode, by adding this to the startup command: Allowing local certificate: export NODE_TLS_REJECT_UNAUTHORIZED=0 (add this before the nuxt dev command) Tell Nuxt what certificates to use: --https --ssl-cert secrets/cert.pem --ssl-key secrets/key.pem (add this after the nuxt dev command)

Full command example: export NODE_TLS_REJECT_UNAUTHORIZED=0 && nuxt dev --port 3010 --https --ssl-cert secrets/key.cert --ssl-key secrets/key.pem

Readme

Keywords

Package Sidebar

Install

npm i @nlo/frontend-common

Weekly Downloads

30

Version

1.0.7

License

none

Unpacked Size

12.5 kB

Total Files

11

Last publish

Collaborators

  • petertabangan
  • zowievangeest-nlo
  • basvanbovene-nlo
  • elpos
  • rogier_nlo
  • kimyiu
  • gerarddorst
  • bartdekoning
  • melvinnlo
  • tdekoning-nlo
  • brandondv-nlo