Skip to content

Commit 1ba4a45

Browse files
committed
Add Admin Sprinkle to main.ts
(Won't change anything for now, but. for future purposes)
1 parent 80e2145 commit 1ba4a45

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
1111
## [6.0.0-beta.4](https://github.com/userfrosting/UserFrosting/compare/6.0.0-beta.3...6.0.0-beta.4)
1212
- Add exclude list for optimizeDeps in Vite config
13+
- Add Admin Sprinkle to main.ts
1314

1415
## [6.0.0-beta.3](https://github.com/userfrosting/UserFrosting/compare/6.0.0-beta.2...6.0.0-beta.3)
1516
- Add 'limax' to optimizeDeps (Prevents "importing binding name 'default' cannot be resolved by star export entries")

app/assets/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ app.use(CoreSprinkle)
2222
import AccountSprinkle from '@userfrosting/sprinkle-account'
2323
app.use(AccountSprinkle, { router })
2424

25+
/** Setup Admin Sprinkle */
26+
import AdminSprinkle from '@userfrosting/sprinkle-admin'
27+
app.use(AdminSprinkle)
28+
2529
/** Setup Theme */
2630
import '@userfrosting/theme-pink-cupcake/less/main.less'
2731
import PinkCupcake from '@userfrosting/theme-pink-cupcake'

0 commit comments

Comments
 (0)