0.0.7 • Published 4 years ago
@sagarchauhan005/nuxt-serverless-installer v0.0.7
Nuxt Serverless Installer
A simple nuxt installer package that guides you into installing a fully optimised Nuxt Serverless app
Installation
- Run
npm install @sagarchauhan005/nuxt-serverless-installerinto your app and then follow the steps. - Run
make setupto set up the project. - Modify your nuxt.config file from
toexports default {module.exports = { - Finally, run
make deployto deploy your app. - To access your lambda logs directly, please install Bref Dashboard (Visit https://dashboard.bref.sh/ and download the deb package for linux)
Manual Installation
Run Setup
Run the following command.
npm install -g serverless npm install serverless-apigw-binary npm install serverless-offlineGo to your serverless.yml file and enter your own "UNIQUE" service name
service: <your-dummy-site-name> # service: kartmax-nuxt-dummy-siteModify your nuxt.config file from
exports default {to
module.exports = {Now as a last step, install aws-cli for your OS and then run 'serverless deploy' as a command (https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html)
- To access your lambda logs directly, please install Bref Dashboard (Visit https://dashboard.bref.sh/ and download the deb package for linux)
Author
Sagar Chauhan works as a Project Manager - Technology at Greenhonchos. In his spare time, he hunts bug as a Bug Bounty Hunter. Follow him at Instagram, Twitter, Facebook, Github
License
MIT