We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Darwin
v18.20.4
2.17.3
3.14.0
2.9.7
[email protected]
webpack
-
Set up Nuxt2 default project, and migrate into @nuxt/bridge https://nuxt.com/docs/bridge/overview
Configure as follows
import { defineNuxtConfig } from '@nuxt/bridge' export default defineNuxtConfig({ bridge: { typescript: true, nitro: true, meta: false, vite: { legacy: false, }, } })
Place an image in /static/logo-green-white.png
And page component file:
<template> <div> <img src="/logo-green-white.png" alt=""> <span v-if="isLoadingDone">done</span> <span v-else>not done</span> </div> </template> <script lang="ts"> import Vue from 'vue' export default Vue.extend({ name: 'IndexPage', data() { return { isLoadingDone: false }; }, mounted() { setTimeout(() => { this.isLoadingDone = true }, 5000) }, }) </script>
Production build and run npm run build && npm run start
npm run build && npm run start
Output to console.log
TypeError: globalThis.__publicAssetsURL is not a function at index-DVkd1gRf.js:1:190
And the execution of the script on that page will be stopped. The display should change to done after 5 seconds, but it does not.
done
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Darwin
v18.20.4
2.17.3
3.14.0
2.9.7
[email protected]
webpack
-
-
-
Reproduction
Set up Nuxt2 default project, and migrate into @nuxt/bridge
https://nuxt.com/docs/bridge/overview
Configure as follows
Place an image in /static/logo-green-white.png
And page component file:
Production build and run
npm run build && npm run start
Describe the bug
Output to console.log
And the execution of the script on that page will be stopped. The display should change to
done
after 5 seconds, but it does not.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: