The frontend component of PuffPastry, meant to interface with the backend, which in turn interfaces with the smart contract.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.ts 435 B

​
​
​
​
​
​
​
12345678910111213
  1. import { createApp } from 'vue'
  2. import './index.css'
  3. import App from './App.vue'
  4. import router from './router'
  5. import { createPinia } from 'pinia'
  6. import './index.css'
  7. import { OpenAPI } from './generated/typescript'
  8. OpenAPI.BASE = ''
  9. OpenAPI.HEADERS = localStorage.getItem("token") ? {"Authorization": "Bearer " + localStorage.getItem("token")} : {};
  10. const pinia = createPinia();
  11. createApp(App).use(pinia).use(router).mount('#app')