Skip to content
New issue

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

Unexpected token '<' when using Nuxt #158

Open
ThatTonybo opened this issue Oct 5, 2022 · 1 comment
Open

Unexpected token '<' when using Nuxt #158

ThatTonybo opened this issue Oct 5, 2022 · 1 comment

Comments

@ThatTonybo
Copy link

Trying to use this in Nuxt with vue 2 results in a SyntaxError: Unexpected token '<'
image

@NathanH-ABN
Copy link

You need to transpile it for server
transpile: [
({ isServer }) => 'vue-typeahead-bootstrap',
],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants