Setup New Nuxt Project (And Handle Some Xstorm Problems)

 

BGRkUK1rpZY3qlQ

Create new project

npx create-nuxt-app gepsoz

cd <project-name>

Setup Webstorm

Nuxt-storm

  1. Add nuxt-storm to your project as a development dependency
# Using yarn
yarn add --dev nuxt-storm
# Using npm
npm install --save-dev nuxt-storm
  1. Add .components.gen.js to your .gitignore file
  2. Add ‘nuxt-storm’ to the buildModules section of nuxt.config.js
{
  buildModules: [
    'nuxt-storm',
  ]
}

Setup host and port

//package.json 
"dev": "nuxt --hostname 0.0.0.0",