Setup New Nuxt Project (And Handle Some Xstorm Problems)
Create new project
npx create-nuxt-app gepsoz
cd <project-name>
Setup Webstorm
Nuxt-storm
- 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
- Add
.components.gen.js
to your .gitignore
file
- 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",