bunnylol icon indicating copy to clipboard operation
bunnylol copied to clipboard

Followed instruction to run locally but shows a blank page?

Open trymeok opened this issue 2 years ago • 2 comments

How to fix?

image image

trymeok avatar Oct 19 '22 21:10 trymeok

I used an alternative workflow that should unblock you.

In your terminal:

// Build the project; generate bundle.js; minify bundle.js into main.js
npm run build; npm run bundle; npm run minify

// CLI shorthand to open index.html in google chrome, which loads the main.js file
google-chrome index.html 

Repeat as needed for any changes you make. When you want to commit make sure you regenerate main.js.

The README instructions for adding a new command are incorrect/out of date and need to be updated too. the prepublish command doesn't exist in the package.json

djtran avatar Dec 11 '22 17:12 djtran

I put out a pull req for adding a prepublish target in https://github.com/rithik/bunnylol/pull/5

djtran avatar Dec 11 '22 17:12 djtran