選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

main.ts 391 B

3週間前
123456789101112131415
  1. import { createApp } from "vue";
  2. import { createMemoryHistory, createRouter } from 'vue-router';
  3. import {routes} from './routes';
  4. import "./style.css";
  5. import { createPinia } from 'pinia';
  6. import App from "./App.vue";
  7. const pinia = createPinia();
  8. export const router = createRouter({
  9. history: createMemoryHistory(),
  10. routes,
  11. })
  12. createApp(App).use(router).use(pinia).mount("#app");