You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
631 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. import { createApp } from 'vue'
  2. import { createWebHashHistory, createRouter } from 'vue-router'
  3. import App from './App.vue'
  4. import Antd from 'ant-design-vue';
  5. import TestFeeder from './components/TestFeeder.vue';
  6. import TestTubePreProcess from './components/TestTubePreProcess.vue';
  7. import './style/app.css'
  8. const router = createRouter({
  9. history: createWebHashHistory(),
  10. routes : [
  11. {name:'feeder', path:'/feeder', component:TestFeeder},
  12. {name:'tube-pre-process', path:'/tube-pre-process', component:TestTubePreProcess},
  13. ],
  14. })
  15. let app = createApp(App)
  16. app.use(router);
  17. app.use(Antd);
  18. app.mount('#app')