Setup New Nuxt Project (And Handle Some Xstorm Problems)
![BGRkUK1rpZY3qlQ](https://raw.githubusercontent.com/azataiot/images/master/2021/09/03/BGRkUK1rpZY3qlQ-20210903162934665.jpg)
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",