@vt7/log-proxy
Vue3 Log Proxy
A repo easy log proxy for Vue 3
Getting Started
$ yarn add @vt7/log-proxy
Setup
import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import '@vt7/log-proxy'
const app = createApp(App)
app.mount('#app')
<template>
<div>
{{ state }}
</div>
</template>
<script setup>
import { reactive } from "vue";
const state = reactive({ a: 1 })
console._log('old log state', state)
console.log('new log state', state)
// old log state Proxy{a: 1}
// [[Handler]]: Object
// [[Target]]: Object
// [[IsRevoked]]: false
// new log state {a: 1}
</script>
Related Packages
vite-plugin-proxy
what `devServer.proxy` is for `webpack-dev-server`, `vite-plugin-proxy` is for `...
15,960
portless
Replace port numbers with stable, named .localhost URLs. For humans and agents.
19,332,162
12,728
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.1 | ^3.2.0 | MIT | |
| 1.0.0 | ^3.2.45 | MIT |
Pre-releases (3)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.1-alpha.0 | ^3.2.0 | MIT | |
| 0.0.1-alpha.1 | ^3.2.45 | MIT | |
| 0.0.1-alpha.0 | >3.0.0 | MIT |