Template version 3.3.0
After downloading the file from Themeforest, You will find SuperProps.zip file. Then unzip the SuperProps.zip and run the following commands on SuperProps folder to get started with the project.
yarn
// For starting GatsbyJs Server run
yarn gatsby-dev
/packages
/common [All common components and resource]
/Assets
/components
/contexts
/data
/theme
/functions
/landing [NextJs version of the project]
/landing-gatsby [Gatsby version of the project]
- Lerna (A tool for managing JavaScript projects with multiple packages. https://lernajs.io)
- Yarn Workspace
- React Js and Next Js
- Gatsby Js
- Styled System and Styled Components
- Firebase Deployment.
If you want to develop only for gatsbyjs then then you don't need the /landing
folder which contains only nextjs related code. You can delete /landing
folder.
For any specific template like the template under /app
route. If you want to use this template only, then you have to follow below procedure.
- Go to
/landing-gatsby/src/pages/
- now copy all the content from
app.js
- Paste all the content in
/landing-gatsby/src/pages/index.js
Now for cleaning the unused code in your project follow the below procedure.
- Now you can delete all other pages except
404.js
. That mean in your/pages
folder you will have two filesindex.js
and404.js
- From
/landing-gatsby/src/containers/
folder you can delete all other folder exceptApp
andError
- From
/common/src/assets/image/
folder you can delete all other folder exceptapp
. Do not delete any files from there like404.svg
,error.svg
etc. - From
/common/src/data/
folder you can delete all other folder exceptApp
. - From
/common/src/theme/
folder you can delete all other folder exceptapp
. Do not delete theindex.js
file.
Now if you start your gatsbyjs
server with yarn gatsby-dev
then you will get your server running on localhost:8000
In the containers
directory you will get folder for our every template. If you want to use App template. Then in the App
directory you will get folders containing different section of the template like Banner
, Footer
, Testimonial
, Navbar
etc.
All of these containers contains regular reactjs code.
For deploying your final project you have to build your project first. To build the project you have to follow below procedure.
Run the below command on
yarn gatsby-build