Skip to content

Commit

Permalink
Add compile hint (#3)
Browse files Browse the repository at this point in the history
* Add hint
* Import contracts
  • Loading branch information
jaehunkim authored Apr 12, 2022
1 parent b136898 commit 69cc1a6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ $ conda install cookiecutter
### To start a new project, run:
------------

cookiecutter -c v1 https://github.com/jaehunkim/cookiecutter-eth-app
cookiecutter -c v1.0.0 https://github.com/jaehunkim/cookiecutter-eth-app
3 changes: 3 additions & 0 deletions {{ cookiecutter.repo_name }}/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"eslint.workingDirectories": ["ui", "contracts"]
}
1 change: 1 addition & 0 deletions {{ cookiecutter.repo_name }}/contracts/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "../typechain";
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/contracts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"skipLibCheck": true,
"rootDir": "./"
},
"include": ["./scripts", "./test", "./typechain"],
"include": ["./scripts", "./test", "./typechain", "./src"],
"files": ["./hardhat.config.ts"]
}
1 change: 1 addition & 0 deletions {{ cookiecutter.repo_name }}/ui/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import { Greeter__factory } from "contracts";

function App() {
return (
Expand Down

0 comments on commit 69cc1a6

Please sign in to comment.