mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 05:38:13 +00:00
Add section about copying index.html and production.html
This commit is contained in:
parent
6a03770bec
commit
f956da4c90
@ -444,6 +444,12 @@ db.getCollection('contentTypeCollection').update(
|
|||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Adding new root page files
|
||||||
|
|
||||||
|
We created new home pages when your go to your api url.
|
||||||
|
You will need to copy `index.html` and `production.html` into your `public` folder.
|
||||||
|
You can find those two files [here](https://github.com/strapi/strapi/tree/master/packages/strapi-generate-new/lib/resources/files/public).
|
||||||
|
|
||||||
## Rebuilding your administration panel
|
## Rebuilding your administration panel
|
||||||
|
|
||||||
Now delete the `.cache` and `build` folders. Then run `yarn develop`.
|
Now delete the `.cache` and `build` folders. Then run `yarn develop`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user