PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
Trying to load a component with Webpack, but the template cache files have not been built so they cannot be imported. For example: "../../template/accordion/accordion-group.html.js".
I'm installing with npm.
Do I have to clone the repo separately and build the template cache files manually? If that's the case, the documentation could be more clear on that.
The error:
Module not found: Error: Can't resolve '../../template/accordion/accordion-group.html.js' in 'D:\projects\myproject\node_modules\angular-ui-bootstrap\src\accordion'
resolve '../../template/accordion/accordion-group.html.js' in 'D:\projects\myproject\node_modules\angular-ui-bootstrap\src\accordion'
using description file: D:\projects\myproject\node_modules\angular-ui-bootstrap\package.json (relative path: ./src/accordion)
My import statement, taken from the documentation:
import accordion from 'angular-ui-bootstrap/src/accordion';
Am I missing something obvious or is the documentation missing information?
Trying to load a component with Webpack, but the template cache files have not been built so they cannot be imported. For example: "../../template/accordion/accordion-group.html.js".
I'm installing with npm.
Do I have to clone the repo separately and build the template cache files manually? If that's the case, the documentation could be more clear on that.
The error:
My import statement, taken from the documentation:
import accordion from 'angular-ui-bootstrap/src/accordion';
Am I missing something obvious or is the documentation missing information?
Version of Angular, UIBS, and Bootstrap
Angular: 1.6.6
UIBS: 2.4.1
Bootstrap: 3.3.7