Skip to content

Commit

Permalink
Installed scully
Browse files Browse the repository at this point in the history
  • Loading branch information
BaronVonPerko committed Aug 5, 2020
1 parent 41e4607 commit aa7d9e1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
File renamed without changes.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"lint": "ng lint",
"e2e": "ng e2e",
"tailwind": "npx tailwindcss build src/tailwind.css -o src/styles.css",
"resources": "node ./scripts/generatePageIndex.js && node ./scripts/generateSiteMap.js && node ./scripts/generatePortfolioImageSizes"
"resources": "node ./scripts/generatePageIndex.js && node ./scripts/generateSiteMap.js && node ./scripts/generatePortfolioImageSizes",
"scully": "scully",
"scully:serve": "scully serve"
},
"private": true,
"dependencies": {
Expand All @@ -25,6 +27,8 @@
"@ngx-loading-bar/core": "^4.2.0",
"@ngx-loading-bar/http-client": "^4.2.0",
"@ngx-loading-bar/router": "^4.2.0",
"@scullyio/ng-lib": "^1.0.0-beta.0",
"@scullyio/scully": "^1.0.0-beta.0",
"ngx-markdown": "^10.1.0",
"rxjs": "^6.5.5",
"sharp": "^0.25.4",
Expand Down
8 changes: 8 additions & 0 deletions scully.StaticAngularBlog.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ScullyConfig } from '@scullyio/scully';
export const config: ScullyConfig = {
projectRoot: "./src",
projectName: "StaticAngularBlog",
outDir: './dist/static',
routes: {
}
};
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { WpcuiComponent } from './custom-pages/wpcui/wpcui.component';
import { CodetipComponent } from './codetip/codetip.component';
import { CodeTipsArchiveComponent } from './custom-pages/code-tips-archive/code-tips-archive.component';
import { CodetipBoxComponent } from './components/codetip-box/codetip-box.component';
import { ScullyLibModule } from '@scullyio/ng-lib';


@NgModule({
Expand Down Expand Up @@ -63,7 +64,8 @@ import { CodetipBoxComponent } from './components/codetip-box/codetip-box.compon
MarkdownModule.forRoot({ loader: HttpClient }),
LoadingBarHttpClientModule,
LoadingBarRouterModule,
LoadingBarModule
LoadingBarModule,
ScullyLibModule
],
providers: [],
bootstrap: [AppComponent]
Expand Down
6 changes: 6 additions & 0 deletions src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/

/***************************************************************************************************
* SCULLY IMPORTS
*/
// tslint:disable-next-line: align
import 'zone.js/dist/task-tracking';

0 comments on commit aa7d9e1

Please sign in to comment.