jvandemo / jvandemo/generator-angular2-library

Issue - SVG Asset folder loading

Open
#233 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
740
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Hi, i'm using the generator with ng-lightning library and testing it with "npm run playground".
After some changes everthing works fine but now the "ng-lightning" can't open the SVG file stored in the asset folder.
I've already tried to change the package.json with the following:
```
"build": "gulp build && npm run build:copy",
"build:copy": "cp -R asset dist/asset",
```
but the /dist/asset folder can't be loaded by playground app.

Thks,
D

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the problem with `npm run playground` and inspect the `gulp build` and `build:copy` commands in package.json. Check why the asset folder copied to `dist/asset` cannot be loaded by the playground app; done means the SVG file in that folder opens successfully there.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.