简体   繁体   中英

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 support

1

How can I implement this in laravel mix

I used client only package to continue on duannx/vue-client-only

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM