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.

vite.config.ts 443 B

​
​
​
​
​
​
​
​
​
​
​
​
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. })