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

Docs say to link "dist/web3.min.js" but there is no web3.min.js. #2383

Closed
igormuba opened this issue Feb 16, 2019 · 2 comments
Closed

Docs say to link "dist/web3.min.js" but there is no web3.min.js. #2383

igormuba opened this issue Feb 16, 2019 · 2 comments
Labels
Documentation Relates to project wiki or documentation

Comments

@igormuba
Copy link

igormuba commented Feb 16, 2019

Expected behavior

Either give web3.min.js or update the docs on how to work without it.

Actual behavior

The docs right away teach how to do it using web3.min.js.

Steps to reproduce the behavior

  1. do to docs > adding web3
  2. it asks to link web3.min.js
  3. there is no web3.min.js

Versions

web3.js 1.0

@OFRBG
Copy link

OFRBG commented Feb 17, 2019

Most modern websites are built with stuff like webpack that minifies the JavaScript dependencies. My guess is that for now the web3 package won't include a web3.min.js file. If you want to use one, however, there's a way. There are packages such as https://www.npmjs.com/package/uglify-js or https://www.npmjs.com/package/browserify that can do it for you via CLI commands.

@nivida
Copy link
Contributor

nivida commented Feb 18, 2019

Sorry, didn't see this in the Getting Started section I will update the documentation. The longterm goal will be to improve the Getting Started section with starter projects etc. this should help most developers to get introduced to the DApp development without any pain.

@nivida nivida added the Documentation Relates to project wiki or documentation label Feb 18, 2019
@nivida nivida changed the title Docs say to link "dist/web3.min.js" but there is no web3.min.js anywhere!!! Docs say to link "dist/web3.min.js" but there is no web3.min.js. Feb 18, 2019
@nivida nivida mentioned this issue Apr 3, 2019
12 tasks
@nivida nivida closed this as completed Apr 4, 2019
@nivida nivida mentioned this issue Apr 4, 2019
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Relates to project wiki or documentation
Projects
None yet
Development

No branches or pull requests

3 participants