-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from art-by-city/34-dev-migrations
adds arweave and artbycity configs to nuxt config
- Loading branch information
Showing
5 changed files
with
11,864 additions
and
6,979 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,6 @@ logs | |
.env | ||
.env.* | ||
!.env.example | ||
|
||
# arlocal | ||
.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
import ArtByCity from '@artbycity/sdk' | ||
import Arweave from 'arweave' | ||
import ArtByCity, { ArtByCityConfig } from '@artbycity/sdk' | ||
|
||
const config = useRuntimeConfig() | ||
const arweave = Arweave.init(config.public.arweave) | ||
const abc = new ArtByCity(arweave, config.public.artbycity as ArtByCityConfig) | ||
|
||
const abc = new ArtByCity() | ||
export const useArtByCity = () => abc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.