Skip to content
Yass-Gen template and data files for
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
data New Post: Converting React Class Components to Function Components us… Mar 9, 2019
src New Post: Deconstructing the magic behind React hooks Feb 7, 2019
.gitignore Implemented: Refactored to be a yass source directory. /data will now… Dec 29, 2018 Implemented: Readme Dec 31, 2018
gulpfile.js Implemented: Copy binary installers while building Mar 4, 2019
package.json Prism highlighter and routing-in-react-spas-without-react-router as a… Jan 5, 2019


git clone yass-sample
cd yass-sample
yarn install

To Build Templates From ./src

NODE_ENV=production gulp --production

This will also attempt to copy an nginx config file to your sites-enabled directory. Delete the rewriteNginxConfigPath task from gulpfile.js if you don't want this.

Once this command runs, a new directory templates will be made available.

To build the static site

Install Yass-Gen if you haven't already.

npm install -g yass-gen

Run Yass-Gen.

cd yass-sample
yass-gen --in ./ --out ./public

This will create a directory public which will contain all the static files and can be served directly.

You can’t perform that action at this time.