Fix contracts path issue

pull/487/head
Boris Kostenko 7 years ago committed by GitHub
parent a5a1be7219
commit 0d89e99ceb
  1. 4
      docs/source/getting-started.rst

@ -13,7 +13,7 @@ To install the Zeppelin library, run::
After that, you'll get all the library's contracts in the `node_modules/zeppelin-solidity/contracts` folder. You can use the contracts in the library like so::
import "zeppelin-solidity/contracts/Ownable.sol";
import "zeppelin-solidity/contracts/ownership/Ownable.sol";
contract MyContract is Ownable {
...
@ -27,7 +27,7 @@ Truffle Beta Support
""""""""""""""""""""""""
We also support Truffle Beta npm integration. If you're using Truffle Beta, the contracts in ``node_modules`` will be enough, so feel free to delete the copies at your ``contracts`` folder. If you're using Truffle Beta, you can use Zeppelin contracts like so::
import "zeppelin-solidity/contracts/Ownable.sol";
import "zeppelin-solidity/contracts/ownership/Ownable.sol";
contract MyContract is Ownable {
...

Loading…
Cancel
Save