mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 13:41:39 +03:00
927df167d7
- Closes #8072 - Implement handlers for the corresponding buttons on the circular menu - Add missing icons and styles - Add functionality to match and extract ASTs # Important Notes None
36 lines
788 B
Vue
36 lines
788 B
Vue
<script setup lang="ts">
|
|
import { computed } from 'vue'
|
|
import { getMainFile, setMainFile } from '../mock/engine'
|
|
import App from '../src/App.vue'
|
|
import MockProjectStoreWrapper from '../stories/MockProjectStoreWrapper.vue'
|
|
|
|
const mainFile = computed({
|
|
get() {
|
|
return getMainFile()
|
|
},
|
|
set(value) {
|
|
setMainFile(value)
|
|
},
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<MockProjectStoreWrapper v-model="mainFile">
|
|
<App :config="{}" :metadata="{}" />
|
|
</MockProjectStoreWrapper>
|
|
</template>
|
|
|
|
<style scoped>
|
|
:is(.viewport) {
|
|
color: var(--color-text);
|
|
font-family: var(--font-code);
|
|
font-size: 11.5px;
|
|
font-weight: 500;
|
|
line-height: 20px;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
height: 100vh;
|
|
}
|
|
</style>
|