Closed BkSouX closed 8 years ago
Found it ! In my components, i was using templateUrl like this
import './app.scss';
import controller from './app.controller';
// import './images/svg-defs.svg';
const AppComponent = {
controller,
templateUrl: 'app/app.html'
};
export default AppComponent;
It works better like this:
import './app.scss';
import template from './app.html';
import controller from './app.controller';
// import './images/svg-defs.svg';
const AppComponent = {
controller,
template
};
export default AppComponent;
Hello,
I'm trying to run my application based on your starter but I can't find out why the build is not working. My architecture is like
Here is the paths object from gulpfile.babel.js
Everything's fine with the serve task. When I build the project and try it with a http server, I have a 404 not found for that file :
I don't have a lot of things in my dist folder, I don't know where are all my html templates.
Would someone have an idea about that issue ?
Here is my webpack.config.js by the way, maybe it can help.
Bruno