nuxt-community / express-template

Starter template for Nuxt 2 with Express.
https://codesandbox.io/s/github/nuxt-community/express-template
1.25k stars 239 forks source link

Cannot resolve symbols Nuxt and Builder imported from nuxt #102

Closed AndrewBogdanovTSS closed 3 years ago

AndrewBogdanovTSS commented 6 years ago

I'm using Webstorm for my development. Once I've imported Nuxt and Builder from 'nuxt' I'm getting a warning that Webstorm can't resolve those symbols. I also don't get any autocompletion for those items. image

This question is available on Nuxt.js community (#c81)
abu-yusuf-dev commented 5 years ago

Use VsCode Instead. Btw, why you need to import Nuxt in this way?

AndrewBogdanovTSS commented 5 years ago

@Revel109 it's great that you didn't recommend to use Angular to me instead of Nuxt and Vue. Why do I need to import Nuxt? Have you ever write a Nuxt-Express app before? I guess you didn't

abu-yusuf-dev commented 5 years ago

@AndrewBogdanovTSS Yes, i didn't write it before. But i did work with nuxt for almost 1 year. I didn't import nuxt like in this way ever. That's why i did ask to you.

AndrewBogdanovTSS commented 5 years ago

@Revel109 I suppose you've been using Nuxt with no built in back-end, in order to use Nuxt with Express you have to import it like that since it's no longer managed by a simple initialization process that is built into Nuxt. Anyway, this discussion adds nothing useful to answering initial question.

abu-yusuf-dev commented 5 years ago

@AndrewBogdanovTSS Got it now. But this issue haven't solved yet? You could manage it by your own way?

AndrewBogdanovTSS commented 5 years ago

If it was solved I would've closed it. If I could've managed it by myself I wouldn't create an issue in the first place