Socket
Socket
Sign inDemoInstall

@nlo/frontend-common

Package Overview
Dependencies
51
Maintainers
7
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nlo/frontend-common

Collection of utilities for creating consistent front-ends between verticals


Version published
Weekly downloads
0
decreased by-100%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 13 Jan 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc