Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

webpack not copy partials html to dist folder #91

Open
fromcouch opened this issue Jul 16, 2017 · 0 comments
Open

webpack not copy partials html to dist folder #91

fromcouch opened this issue Jul 16, 2017 · 0 comments

Comments

@fromcouch
Copy link

Description

After some hard work finally I decide distribute code to client.
But first I want to try distribution:
npm run serve:dist

Open browser and nothing apperas. I look console to see error

Error Message & Stack Trace

Surprisly I haven't html partials of project in dist folder.
screen shot 2017-07-17 at 00 43 12

vendor-3d79264….js:55858 Error: [$compile:tpload] Failed to load template: ./login/login.html (HTTP status: 404 Not Found)
http://errors.angularjs.org/1.6.5/$compile/tpload?p0=.%2Flogin%2Flogin.html&p1=404&p2=Not%20Found

Config

Copy the content from .yo-rc.json:

{
  "generator-fountain-angular1": {
    "version": "1.0.0",
    "props": {
      "framework": "angular1",
      "modules": "webpack",
      "js": "babel",
      "ci": "",
      "css": "scss",
      "resolved": "/Users/victor/.nvm/versions/node/v7.5.0/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
      "namespace": "fountain-angular1:app",
      "_": [],
      "sample": "techs",
      "router": "none"
    }
  }
}```

## Environment

Tell us which operating system you are using, as well as which versions of Node.js, npm, and yo. Run the following to get it quickly:

Node.js v7.5.0
darwin 16.6.0
yo: 2.0.0
npm: 5.0.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant