-
Notifications
You must be signed in to change notification settings - Fork 0
Adding a story to Index
eniamza edited this page Nov 16, 2020
·
4 revisions
So you finished writing your weirdest story? Or you want to test the story while writing? Or you want to how this weird thing works?
We got you salted! (Or covered maybe?)
Till now you may have started writing a story following this. Now it's time to bring it to the light!
The steps are :
-
Navigate to
src/story/stories/
-
Create a file named
yourstory.js
-
Copy everything from
chatur.js
-
Modify this line
const chatur = require('../../../stories/chatur.json');
To this
const chatur = require('../../../stories/yourstory.json');