2022-04-09 03:44:38 +00:00
|
|
|
<script setup lang="ts">
|
2022-04-09 07:02:30 +00:00
|
|
|
import Home from './components/Home.vue'
|
2022-04-09 03:44:38 +00:00
|
|
|
// This starter template is using Vue 3 <script setup> SFCs
|
|
|
|
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
|
|
|
|
import HelloWorld from './components/HelloWorld.vue'
|
2022-04-09 05:58:19 +00:00
|
|
|
import { MathStatement } from './support/parse'
|
2022-04-09 07:12:27 +00:00
|
|
|
import { MathPage } from './support/page'
|
|
|
|
(window as any).Stmt = MathStatement
|
|
|
|
;(window as any).Pg = MathPage
|
2022-04-09 03:44:38 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-04-09 14:23:09 +00:00
|
|
|
<div id="nav">
|
2022-04-09 14:34:29 +00:00
|
|
|
<router-link to="/">Home</router-link> |
|
|
|
|
<router-link to="/scratch">Scratch Testing</router-link>
|
2022-04-09 14:23:09 +00:00
|
|
|
</div>
|
|
|
|
<router-view/>
|
2022-04-09 03:44:38 +00:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#app {
|
|
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-align: center;
|
|
|
|
color: #2c3e50;
|
|
|
|
margin-top: 60px;
|
|
|
|
}
|
2022-04-09 04:34:42 +00:00
|
|
|
|
2022-04-09 03:44:38 +00:00
|
|
|
</style>
|