Add svelte as a view engine to swaf #33
@ -7,7 +7,7 @@
|
||||
<script type="module" defer>
|
||||
import View from '/js/views/%canonicalViewName%.js';
|
||||
import * as stores from '/js/stores.js';
|
||||
const localStore = stores[Object.keys(stores)[0]].locals;
|
||||
const localStore = stores.s.locals;
|
||||
|
||||
const localMap = %locals%;
|
||||
localStore.set((key, args) => {
|
||||
|
Loading…
Reference in New Issue
Block a user