Repository create-nuxt-app

adi-zz

adi-zz posted a new question

create-nuxt-app • 12 hours ago

How to submit a bug?
waqas-mehmood-pk

waqas-mehmood-pk posted a new question

create-nuxt-app • 13 hours ago

Vuetify & axios not added in project

Hello, I am first time install nuxt.js via npx and select vuetify and axios during the installation procedure but after installation, I can't find both libraries in package.json and nuxt.config.js file.

adi-zz

adi-zz posted a new bug report

create-nuxt-app • a day ago

bug Build with vuetify and css extraction

Version

v2.1.1

Reproduction link

n/a

Steps to reproduce

  1. npx create-nuxt-app test (accept all default expect UI framework, which should be vuetify)
  2. enable css extraction (add extractCSS: true, in nuxt.config.js#build
  3. npm run build

What is expected ?

The build should work.

What is actually happening?

Build fails with TypeError: Cannot read property 'search' of undefined

Additional comments?

The build would work if I edit node_modules/vuetify/src/stylus/components/_time-picker-clock.styl#54, and use border-color: black instead of border-color: inherit.

munierujp

munierujp posted a new feature request

create-nuxt-app • 2 days ago

idea Add Onsen UI to UI frameworks

What problem does this feature solve?

I can use Onsen UI components without manually installation.

sibbngheid

sibbngheid posted a new feature request

create-nuxt-app • 5 days ago

idea Edit HOST and PORT while using custom server framework

What problem does this feature solve?

Looks like some examples in https://nuxtjs.org/faq/host-port do not working with custom server frameworks. I changed host and port value in server/index.js. But I think we should not edit this file until nuxt is does not provide what we are looking for. At least nuxt.config.js example should work with custom server frameworks.

manniL

manniL posted a new feature request

create-nuxt-app • 11 days ago

idea Integrate external eslint config

What problem does this feature solve?

With the release of https://github.com/nuxt/eslint-config we can now integrate it into create-nuxt-app as default preset.

Starting point: https://github.com/nuxt/nuxt.js/pull/4108

wangxueliang

wangxueliang posted a new feature request

create-nuxt-app • 15 days ago

idea support ant-design-vue

What problem does this feature solve?

Add more Ui framework options is always good

What does the proposed changes look like?

Add ant-design-vue Ui framework

TakCastel

TakCastel posted a new bug report

create-nuxt-app • a month ago

bug Prettier error

Version

v2.0.0

Reproduction link

https://github.com/Vocast-fr/website

Steps to reproduce

Type the followin command line :

$ npx create-nuxt-app test

Enter the following options :

> Generating Nuxt.js project in <path>
? Project name <projectname>
? Project description My striking Nuxt.js project
? Use a custom server framework none
? Use a custom UI framework vuetify
? Choose rendering mode Single Page App
? Use axios module yes
? Use eslint yes
? Use prettier yes
? Author name
? Choose a package manager npm

Then run

$ cd <projectname>

$ npm run dev

You will get the following messages :

Capture d’écran 2018-09-27 à 16.50.15.png

Am I doing something wrong ?

What is expected ?

The application is launched locally.

What is actually happening?

Fail to compile with Prettier error.

seybsen

seybsen resolved the question #c17

create-nuxt-app • a month ago

add buefy to ui framework

It was already added with 26b971f

liam-potter

liam-potter fixed the bug report #c65 in v2.1.1

create-nuxt-app • a month ago

bug default template not centeret
romikzo

romikzo posted a new bug report

create-nuxt-app • a month ago

bug Cannot find module 'eslint-config-prettier' after fresh installation

Version

v2.1.0

Reproduction link

http://localhost:3000

Steps to reproduce

Just run yarn create nuxt-app <my-project> and select 'Install prettier' as 'Yes'. After, yarn run dev gives error.

What is expected ?

Installing and running without errors.

What is actually happening?

Module build failed (from ./node_modules/eslint-loader/index.js): Error: Cannot find module 'eslint-config-prettier' Referenced from: /Users/romikzo/Projects/s-maria-frontend/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js Referenced from: /Users/romikzo/Projects/s-maria-frontend/.eslintrc.js at ModuleResolver.resolve (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/util/module-resolver.js:72:19) at resolve (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:484:28) at load (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:556:26) at configExtends.reduceRight (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:430:36) at Array.reduceRight (<anonymous>) at applyExtends (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:408:26) at loadFromDisk (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:528:22) at load (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:564:20) at configExtends.reduceRight (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:430:36) at Array.reduceRight (<anonymous>) at applyExtends (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:408:26) at loadFromDisk (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:528:22) at Object.load (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config/config-file.js:564:20) at Config.getLocalConfigHierarchy (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config.js:227:44) at Config.getConfigHierarchy (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config.js:179:43) at Config.getConfigVector (/Users/romikzo/Projects/s-maria-frontend/node_modules/eslint/lib/config.js:286:21)
On yarn run dev after installation.

zyxep

zyxep posted a new bug report

create-nuxt-app • a month ago

bug default template not centeret

Version

v2.0.1

Reproduction link

http://localhost:3000

Steps to reproduce

 ~/Projects  npx create-nuxt-app test    993  09:58:27
npx: installed 401 in 8.626s

Generating Nuxt.js project in /Users/ska/Projects/test
? Project name test
? Project description My hunky-dory Nuxt.js project
? Use a custom server framework none
? Use a custom UI framework tailwind
? Choose rendering mode Universal
? Use axios module no
? Use eslint yes
? Author name Simon K
? Choose a package manager yarn
Initialized empty Git repository in /Users/ska/Projects/test/.git/
yarn install v1.9.4
info No lockfile found.
[1/4] 🔍 Resolving packages…
[2/4] 🚚 Fetching packages…
[-----------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/996(node:1557) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[3/4] 🔗 Linking dependencies…
warning " > [email protected]" has unmet peer dependency "[email protected]>=2.0.0 <5.0.0". warning " > [email protected]" has incorrect peer dependency "[email protected]^3.18.0 || ^4.0.0".
[4/4] 📃 Building fresh packages…
success Saved lockfile.
✨ Done in 14.84s.

To get started:

cd test
yarn run dev

To build & start for production:

cd test
yarn run build
yarn start

 ~/Projects  cd test    994  10:00:08
 ~/Projects/test    master   yarn run dev    995  10:00:16
yarn run v1.9.4
$ nuxt

INFO Building project

✔ success Builder initialized
✔ success Nuxt files generated

READY Listening on http://localhost:3000

What is expected ?

To have a centeret webpage.

What is actually happening?

Screen Shot 2018-09-24 at 10.01.37.png

This is from the viewport on Chrome @ MacOS 10.13.6

Atinux

Atinux fixed the bug report #c64 in v2.0.1

create-nuxt-app • a month ago

bug Error: Cannot find module 'nuxt-edge'
jefer590

jefer590 posted a new bug report

create-nuxt-app • a month ago

bug Error: Cannot find module 'nuxt-edge'

Version

v2.0.0

Steps to reproduce

  • Update the create-nuxt-app CLI to 2.0.0
  • try to create a new project
  • use yarn instead of npm
  • go to the created folder
  • run yarn dev
  • Throws the error Error: Cannot find module 'nuxt-edge'

What is expected ?

Run the newly created project with NuxtJS 2.0

What is actually happening?

Throwing an error because of a missing dependency: Error: Cannot find module 'nuxt-edge'

affanshahid

affanshahid posted a new question

create-nuxt-app • a month ago

Vuetify not in vendor bundle?

New to Nuxt.js, but in the Vuetify template is there a reason why Vuetify is not specified for the vendor bundle?

i.e in nuxt config
‘’’js
build: {
vendor: ['vuetify']
}
‘’’

manniL

manniL posted a new feature request

create-nuxt-app • a month ago

idea Nuxt-Edge as selection

What problem does this feature solve?

I'd love to see an option to create the Nuxt app with nuxt-edge instead of nuxt 🙊

marijnbent

marijnbent posted a new question

create-nuxt-app • 2 months ago

Possible to integrate Mono, or advised to separate API from frontend

Hi there,

First of all, I love Nuxt. It is clean and really nice to use. Thank you for creating it!

So I want to have a frontend and an API. The API isn't connect to a database, but that is possible in the future.

How can I add mono to an existing Nuxt app? Or do you advise to create a separate API project and host it on a different server. In that case, why would you need express or any other server-side framework with my nuxt project? What would be the use case of a server side framework if the app is directly communicating with an API. Sorry for this noob question, I'm trying to learn :)

Thank you so much for your help!

nigel-dewar

nigel-dewar posted a new question

create-nuxt-app • 2 months ago

HMR does not work

Hi There,

Hot module reload doesnt seem to work on this repo or any of the nuxt repos, like the community starter, express etc.

I have tried editing the nuxt.config.js file to try and get HMR running but to no avail

Does HMR not work in nuxt altogether? Or is there some kind of special config one must do. Seems to be Nuxt specific, because a generic vue-cli v3 project works with HMR, so it seems to be nuxt that has issues, at least for me anyway

env

Windows 10 x64
Node version 10.8.0
npm version 6.2

Latest pull of create-nuxt-app

Cheers

Extarys

Extarys posted a new feature request

create-nuxt-app • 2 months ago

idea iview support

What problem does this feature solve?

Add more Ui framework options is always good

What does the proposed changes look like?

It would be nice to add iview to the possible selection of UI.

potato4d

potato4d resolved the question #c57

create-nuxt-app • 2 months ago

bash: create-nuxt-app: command not found

@himanshu64

Can not solve with the following command?

$ export PATH="/home/dell/.npm-global/bin:$PATH"
$ create-nuxt-app <project-name>