This repo is clone of insta portfolio template. This was a paid template but we deconstructed the website and reverse engineered it. This is only for education not for sale. We fully respect and admire the creativity of designer of the template.
Install Packages
npm install
then, run for dev
npm run dev
the files will be served on localhost:8080
for production run
npm run prod
and copy all the contents from /dist folder to your server.
It minifies js,css and images. It optimizes the js and html page for better page-insights score.
All the work is done in src folder.
- All the css are in /src/css.
- All the js are in /src/js.
- All the bundles are required in app.js
- Index.ejs is the home page.
You can add mode pages but you will have to configure webpack.config.js.
Just replace the Webpack in this line in package.json
template: 'ejs-simple-loader?title=Webpack&activePage=home!./src/index.ejs',
It will probably be line no 49. You need to suppy html-webpack-plugin template option a title