Skip to content

Mizumaki/Nuxt_SSR_TypeScript_Firebase_Workbox_example

Repository files navigation

SSR SPA sample using Nuxt.js with TypeScript and Firebase Hosting & Cloud Functions

This is a sample App built by Nuxt. You can run this app on both localhost and Web.

If you want to run this app in the real world, use Firebase. All settings is included in this sample.

The same app using Vue CLI3 instead of Nuxt.js is here.

Usage

Install dependencies in root directory and functions directory:

// in root directory
yarn

// in funcitons directory
yarn

Build app:

yarn build

Run app in localhost:

yarn serve:pro

// now, app is served in http://localhost:8080

If you want to use hot reloading, use yarn dev.

deploy to Firebase

First, build this app.

Second, following instruction in Firebase Official page, set up the environments.

If you create project and install and set up firebase cli, you are ready to deploy.

yarn deploy

References

I use these example project as references. Thanks!

About

Nuxt SSR sample using TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published