components/.vue Files not formatted/rendered

Published 1 month ago by splendidkeen

Hey, I am currently working on some .vue files but the code won't be formatted/rendered correctly, so everything is grey, even though I installed the dependencies.

Am I missing something ?

package.json

"devDependencies": {
    "axios": "^0.16.2",
    "bootstrap-sass": "^3.3.7",
    "cross-env": "^5.0.1",
    "jquery": "^3.1.1",
    "laravel-mix": "^1.0",
    "lodash": "^4.17.4",
    "vue": "^2.1.10"
  },
  "dependencies": {
    "laravel-echo": "^1.3.2",
    "pusher-js": "^4.2.1"
  }

Thank you

jplhomer

This is likely something you'll need to install at an editor level.

I'm sure there are others for Sublime, etc.

splendidkeen

Now that is funny. I asked this question, because I was working on your tutorial for the Realtime Chat App :D. Thank you for the reply @jplhomer

I installed language-vue, but it still won't render the code. Anything else to be installed at the beginning?

jplhomer

@splendidkeen haha, no way! That's odd - I would definitely restart your editor if you haven't already. But other than that, I'm out of ideas.

splendidkeen

@jplhomer Indeed :D. I will try, thanks. I have a question. At the moment the Chatroom is open to every user knowing the route.

What would you recommend, if I wanted Users to be able to interact with other Users in a "private" chatroom. How could that be possible?

Please sign in or create an account to participate in this conversation.