Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Followed instruction to run locally but shows a blank page? #3

Open
trymeok opened this issue Oct 19, 2022 · 2 comments
Open

Followed instruction to run locally but shows a blank page? #3

trymeok opened this issue Oct 19, 2022 · 2 comments

Comments

@trymeok
Copy link

trymeok commented Oct 19, 2022

How to fix?

image

image

@djtran
Copy link

djtran commented Dec 11, 2022

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
Copy link

djtran commented Dec 11, 2022

I put out a pull req for adding a prepublish target in #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants