The frontend component of PuffPastry, meant to interface with the backend, which in turn interfaces with the smart contract.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

vite.config.ts 443 B

2 lat temu
​
​
2 lat temu
​
​
​
​
​
​
2 lat temu
2 lat temu
​
​
2 lat temu
​
​
12345678910111213141516171819202122
  1. import { defineConfig } from 'vite'
  2. import vue from '@vitejs/plugin-vue'
  3. import tailwindcss from '@tailwindcss/vite'
  4. import vueDevTools from 'vite-plugin-vue-devtools'
  5. // https://vitejs.dev/config/
  6. export default defineConfig({
  7. plugins: [
  8. vue(),
  9. vueDevTools(),
  10. tailwindcss()
  11. ],
  12. server: {
  13. port: 5173,
  14. proxy: {
  15. '/api/': {
  16. target: 'http://localhost:7300',
  17. changeOrigin: true,
  18. }
  19. }
  20. }
  21. })