Repository create-nuxt-app

potato4d

potato4d resolved the question #c57

create-nuxt-app • 9 hours 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>
woodgates

woodgates fixed the bug report #c56

create-nuxt-app • 10 hours ago

bug statusCode: 404
renoirb

renoirb posted a new feature request

create-nuxt-app • 11 hours ago

idea When using Koa alongside Nuxt, ability to use different `router.base` from root, and that Koa follows suit

What problem does this feature solve?

Have Koa function alongside Nuxt, when Nuxt has a different context-root than / (e.g. have /foo/, instead of /, as in http://example.org/foo/).

Nuxt supports to tell which context-root (e.g. instead of //foo/) to use when running with nuxt.config.js's router.base option. (see nuxt.js/…/configuration-router)

// nuxt.config.js
module.exports = {
  router: {
    base: '/foo/'
  }
}

But when using Koa alongside Nuxt, Koa throws exceptions.

This might just be a matter of having the right combination of settings, initialized in the right order. But which settings, and where is the question

P.S. This is an issue created by the request of @clarkdo, following up nuxt/koa-template - Document how to also make Koa match Nuxt's router.base #c29

What does the proposed changes look like?

  1. Some setting that says what is the baseUri to use, defaults to / as usual
  2. Both Nuxt and Koa takes the configuration into account
  3. Should work in any deployment mode: dev, compiled, etc.

P.S.: I've started working towards this while refactoring clarkdo/hare (see renoirb/experiments-nuxt-koa-env-runtime-201806, branch rework-hare-20180619 as a starting point)

himanshu64

himanshu64 posted a new question

create-nuxt-app • 2 days ago

bash: create-nuxt-app: command not found

[email protected]:~/Workspace/Web/vue-nuxt$ sudo npm i create-nuxt-app -g[sudo] password for dell:
/home/dell/.npm-global/bin/create-nuxt-app -> /home/dell/.npm-global/lib/node_modules/create-nuxt-app/cli.js

woodgates

woodgates posted a new bug report

create-nuxt-app • 4 days ago

bug statusCode: 404

Version

v1.2.0

Reproduction link

https://jsfiddle.net/

Steps to reproduce

Install a project with Feathers and Vuetify.

run "npm run dev" on the console.

The application starts successfully but gives an 404 error.

What is expected ?

Not having error messages.

What is actually happening?

got this 404 error message:

DONE Compiled successfully in 8645ms 11:40:51

Feathers application started on localhost:3000
{ statusCode: 404,
path: '/node_modules/vuetify/src/stylus/main.css.map',
message: 'This page could not be found' }

Additional comments?

no

jericopulvera

jericopulvera posted a new feature request

create-nuxt-app • 7 days ago

idea PurgeCSS

What problem does this feature solve?

Saves time setting up purgecss on new project.

What does the proposed changes look like?

Should have an option to add purgecss

samialmorshedi

samialmorshedi posted a new question

create-nuxt-app • 14 days ago

Disabling the scale animation on page load

I have read all the Nuxt generated app to disable the scale loading on start in this package but I did not find it!!! How can I remove the first animation that is look like scale animation?

amandablakley

amandablakley posted a new question

create-nuxt-app • 20 days ago

No longer can push any project created with this to git

Not sure if commit in last 20hours was the causing issue of this but any project spun up with this through npm now can no longer stage through git. Throws an error but worked previously before the last commit. If I create a nuxt project any other way, the nuxt project will stage and push to my git folder. I have other nuxt projects in my repo created with this that staged fine but were all also created prior to the last commit in the last 20 hours.

isaumya

isaumya posted a new question

create-nuxt-app • a month ago

How to use SCSS styles inside the nuxt page, layout, component sections?

Hi, I was wondering how to write SCSS code inside nuxt page, payout, component section? Like @vue/cli 3.0 it doesn't give any preprocessor selection option and as a result whenever I write SCSS code inside my layout, component or pages vue file, the build fails. I already tried manually installing

npm i vue-style-loader node-sass sass-loader

But it didn't solve the issue. I was wondering how can we write scoped SCSS inside nuxt, not use putting the SCSS files in the assets folder.

Hoping to get a reply.

Chathula

Chathula posted a new bug report

create-nuxt-app • a month ago

bug BrowserslistError: Unknown browser query `dead` error

Version

v1.2.0

Reproduction link

https://github.com/nuxt-community/create-nuxt-app

Steps to reproduce

i tried to create a new project. but it shows an error in Bootstrap. i think we need to downgrade boostrap version. how to fix this for all, instead of me without having a pane.

nuxt-issue.PNG

I fixed the issue by downgrading the Bootstrap version into 4.0.0 or 4.1.0 (remove ^ before the version number and put 4.0.0 or 4.1.0)

What is expected ?

fix this for all.

What is actually happening?

version mismatch break!

samialmorshedi

samialmorshedi posted a new question

create-nuxt-app • a month ago

Remove first load scale loading

This package made pages a loading on page first start. I mean the loading that first you see the page and page get a scale to huge size and then in some second it goes fit the page. I want to remove that. how can I change the settings?

ryanford-frontend

ryanford-frontend posted a new bug report

create-nuxt-app • a month ago

bug Vuetify Does Not Include Jumbotron component

Version

v1.2.0

Reproduction link

https://gist.github.com/ryanford-frontend/3d5c4a4f2c54e8ab2d3ad8097cf36b0e

Steps to reproduce

  1. create-nuxt-app

  2. select Vuetify as framework

What is expected ?

Vuetify comes with a VJumbotron component, even at the release date create-nuxt-app uses.

What is actually happening?

No VJumbotron component.

benbagley

benbagley posted a new question

create-nuxt-app • 2 months ago

Deprecated packages Tailwindcss

Hi,

I've tried creating an app all using Tailwindcss, I have the following errors though:

[1/4] 🔍  Resolving packages...
warning nuxt > [email protected]3.1.0: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/
warning nuxt > webpack-bundle-analyzer > [email protected]5.3.1: Switch to the `bfj` package for fixes and new features!

I have tried replacing the packages but I get

✗ yarn remove postcss-cssnext
yarn remove v1.3.2
[1/2] Removing module postcss-cssnext...
error This module isn't specified in a manifest.
info Visit https://yarnpkg.com/en/docs/cli/remove for documentation about this command.

I can install the new packages but not remove them.

Extarys

Extarys posted a new question

create-nuxt-app • 2 months ago

cross-env: not found after computer restart?

Good evening,

So I opened my computer this morning and I could issue a npm run dev without getting:

sh: 1: cross-env: not found npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! [email protected] dev: `cross-env NODE_ENV=development nodemon server/index.js --watch server` npm ERR! spawn ENOENT

I deleted my node_modules directory and ran yarn install --check-files and still have this.

Any tips on what's going on?

bart

bart posted a new bug report

create-nuxt-app • 2 months ago

bug Issue running npm dev with tailwind

Version

v1.2.0

Reproduction link

https://codepen.io

Steps to reproduce

create-nuxt-app myproject

? Project name myproject
? Project description My striking 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 no
? Author name Bart
? Choose a package manager yarn

cd myproject
yarn run dev

What is expected ?

Server starting on localhost:3000

What is actually happening?

yarn run dev command fails with "MODULENOTFOUND"

rikoz

rikoz posted a new feature request

create-nuxt-app • 2 months ago

idea Please add vuesax ui component

What problem does this feature solve?

please add vuesax,
https://lusaxweb.github.io/vuesax/vuesax/

also is it not possible to choose 2 ui frameworks to install during setup.. there might me conditions where you might need to use some elements in the second framework

What does the proposed changes look like?

it's very nice to use with tailwind for theming and custom UI

rikoz

rikoz posted a new question

create-nuxt-app • 2 months ago

Add vuesax to ui framework

please add vuesax, it's very nice to use with tailwind
https://lusaxweb.github.io/vuesax/vuesax/

also is it not possible to choose 2 ui frameworks to install during setup.. there might me conditions where you might need to use some elements in the second framework

o1lab

o1lab posted a new feature request

create-nuxt-app • 2 months ago

idea Please add electron support

What problem does this feature solve?

Please add support to scaffold electron app.

Looking for : electron + express + vuetify + axios

alphaelf

alphaelf posted a new question

create-nuxt-app • 2 months ago

i get error with fresh nuxt app

$ npx create-nuxt-app
npx: installed 1 in 3.411s
Path must be a string. Received undefined
null

Generating Nuxt.js project in D:\Documents\projects\daal
? Project name daal
? Project description Modualr SPA
? Use a custom server framework adonis
? Use a custom UI framework element-ui
? Choose rendering mode Single Page App
? Use axios module yes
? Use eslint yes
? Author name Mohsen Akbari
? Choose a package manager npm
Reinitialized existing Git repository in D:/Documents/projects/daal/.git/
npm WARN deprecated [email protected]: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/
npm ERR! Unexpected end of JSON input while parsing near '…dbd632008d65d982d5872'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Landima\AppData\Roaming\npm-cache_logs\2018-06-24T091202_546Z-debug.log

To get started:

npm run dev

To build & start for production:

npm run build
npm start
alphaelf

alphaelf posted a new question

create-nuxt-app • 2 months ago

disable CSRF for SPA

i use adonis for server side api and for SPA, CSRF must be disable, so is this better disabled by default?