File size: 419 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import { bootstrapApplication } from '@angular/platform-browser'
import { appConfig } from './app/app.config'
import { AppComponent } from './app/app.component'
bootstrapApplication(AppComponent, appConfig)
.then(() => {
// an simple endpoint for getting current list
localStorage.setItem(
'tasks',
JSON.stringify(['Item 1', 'Item 2', 'Item 3']),
)
})
.catch((err) => console.error(err))
|