forked from CSGOWTF/csgowtf
upgrade from webpack to vite + typescript
This commit is contained in:
@@ -3,24 +3,25 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {watch} from "vue";
|
||||
import { watch } from "vue";
|
||||
|
||||
export default {
|
||||
name: "SprayGraph",
|
||||
props: {
|
||||
spray: {
|
||||
type: Object,
|
||||
required: true
|
||||
}
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
setup(props) {
|
||||
watch(() => props.spray, () => {
|
||||
// console.log(props.spray)
|
||||
})
|
||||
}
|
||||
}
|
||||
watch(
|
||||
() => props.spray,
|
||||
() => {
|
||||
// console.log(props.spray)
|
||||
}
|
||||
);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user