$ ng build --prod
$ npx scully --RSD --scan --prod
$ npm run scully:serve
Angular distribution server started on “http://localhost:1864/”
Scully static server started on “http://localhost:1668/”
実行
13
Slide 14
Slide 14 text
$ ng build --watch
開発
14
$ npx scully --watch
Slide 15
Slide 15 text
import { setPluginConfig } from '@scullyio/scully';
import { MarkedConfig } from '@scullyio/scully/lib/fileHanderPlugins/markdown';
setPluginConfig('md', {
enableSyntaxHighlighting: true,
});
シンタックスハイライト
15