mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
get page SPA solved
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
module.exports = {
|
||||
var browserSync = require("browser-sync").create();
|
||||
var historyApiFallback = require('connect-history-api-fallback')
|
||||
|
||||
browserSync.init({
|
||||
|
||||
server: {
|
||||
baseDir: './',
|
||||
middleware: [ historyApiFallback() ]
|
||||
},
|
||||
|
||||
files: ['dist/**/*.{html,htm,css,js}',
|
||||
'node_modules/ng2-alfresco-core/dist/**/*.{html,htm,css,js}',
|
||||
@@ -10,4 +18,4 @@ module.exports = {
|
||||
'node_modules/ng2-alfresco-viewer/dist/**/*.{html,htm,css,js}'],
|
||||
|
||||
reloadDelay: 1000
|
||||
};
|
||||
});
|
||||
|
Reference in New Issue
Block a user