Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in the generation of files in the build #1474

Closed
juliandavidmr opened this issue Aug 24, 2017 · 2 comments
Closed

Bug in the generation of files in the build #1474

juliandavidmr opened this issue Aug 24, 2017 · 2 comments

Comments

@juliandavidmr
Copy link

juliandavidmr commented Aug 24, 2017

Hello, I have a problem with the generation of files in the build: npm run build.

The file index.spa.html have three tag script with path js file into folder /_nuxt but this folder not exist, ie:

<script src="/_nuxt/manifest.xxx.js"/>
<script src="/_nuxt/common.xxx.js"/>
<script src="/_nuxt/app.xxx.js"/>

The JS files manifest, common and app is at the folder root (dist).

Info:
Nuxt 1.0.0-rc3
Node v6.11.1
SO Windows 10

This question is available on Nuxt.js community (#c1314)
@pi0
Copy link
Member

pi0 commented Aug 25, 2017

Hi @juliandavidmr . For SPA deployment you have to deploy dist folder at the root of your project (~/dist) not one in the .nuxt dir. (Please upgrade your nuxt to rc6 please for a better SPA experience too)

@pi0 pi0 closed this as completed Aug 25, 2017
@lock
Copy link

lock bot commented Nov 3, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 3, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants