Spaces:
Paused
Paused
Download src/main.js from tanlang002/danmu_web: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/tanlang002/danmu_web/resolve/main/src/main.js
- Command line
-
hf download hf://spaces/tanlang002/danmu_web/src/main.js
-
curl -L -o main.js https://huggingface.co/spaces/tanlang002/danmu_web/resolve/main/src/main.js
328 Bytes
| import { createApp } from 'vue' | |
| import { createPinia } from 'pinia' | |
| import App from './App.vue' | |
| import router from './router' | |
| import lazyplugin from 'vue3-lazy' | |
| const app = createApp(App) | |
| app.use(createPinia()) | |
| app.use(router) | |
| app.use(lazyplugin, { | |
| loading: 'loading.png', | |
| error: 'loading.png' | |
| }) | |
| app.mount('#app') | |