简体   繁体   English

无法在模块外使用import语句laravel vue惯性ssr

[英]Cannot use import statement outside a module laravel vue inertia ssr

I'm implementing inertia ssr to existing inertia website I got this error from vue agile Cannot use import statement outside a module I looked up in vue agile docs the says that I have to do this to work with ssr我正在对现有的惯性网站实施惯性 ssr 我从 vue 敏捷中得到了这个错误 不能在模块外使用 import 语句我在 vue 敏捷文档中查找说我必须这样做才能使用 ssr

ssr support ssr支持

1

How can I implement this in laravel mix如何在 laravel mix 中实现这个

I used client only package to continue on duannx/vue-client-only我仅使用客户端 package 继续使用 duannx/vue-client-only

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Laravel InertiaJS SSR:找不到模块 laravel-vite-plugin/inertia-helpers.js - Laravel InertiaJS SSR: Cannot find module laravel-vite-plugin/inertia-helpers.js 如何使用 Chart consoletvs/charts:7.* 解决 Laravel 8 中的错误“Uncaught SyntaxError: Cannot use import statement outside a module”? - How can resolve this error "Uncaught SyntaxError: Cannot use import statement outside a module" in Laravel 8 with Chart consoletvs/charts:7.*? Laravel 8 (Inertia js) - 获取 Vue 错误'app.js:30559 [Vue 警告]:创建钩子中的错误:“错误:找不到模块...” - Laravel 8 (Inertia js) - Getting Vue error 'app.js:30559 [Vue warn]: Error in created hook: "Error: Cannot find module...' Laravel 9 Vue 3 惯性项目 - Laravel 9 Vue 3 Inertia Project 如何在服务器上部署带有 Inertia SSR 的 Laravel Inertia 应用程序 - How deploy Laravel Inertia app with Inertia SSR on server 带有 Laravel 和 Vue2 的 InertiaJS:无法重新定义属性:$inertia - InertiaJS with Laravel & Vue2: Cannot redefine property: $inertia 路线未定义,laravel微风惯性反应SSR - Route is not defined, laravel breeze inertia react SSR 使用SSR和Laravel在Vue上进行路由 - Routing on Vue with SSR and Laravel Laravel Inertia 脚手架,但使用 vue2 - Laravel Inertia scaffolding but with vue2 Laravel Vue Inertia 动态分页安装错误 - Laravel Vue Inertia dynamic pagination bugging with mount
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM