Problems with hosting Firebase

I have a base node js application using jQuery-jade files. I wanted to deploy it on my firebase a / c. When I use the firebase deployment command, I keep getting:

Preparing to deploy Public Directory...
Public Directory Warning - Public directory does not contain an index.html

And to be honest, I don't have an index.html coz file. I use jade files. I am new to issues related to the client side, so any help would be appreciated.

This is what my fiebase.json file looks like:

{
  "firebase": "torrid-heat-237",
  "public": "./findUrTalentsAdmin-master",
  "ignore": [
    "firebase.json",
    "**/.*",
    "**/node_modules/**"
  ]
}
+1
source share
1 answer

Firebase Hosting is a service for hosting static assets, for example. static website. The root of a static website is usually the index.html page that the command executes firebase deploy.

Jade ( "" ) - node. , node.js. CDN, Firebase Hosting, API node.js.

, - Jade Firebase Hosting. Jade Jade HTML (, $ jade < my.jade > my.html), Firebase Hosting.

+1

Source: https://habr.com/ru/post/1662966/


All Articles