diff --git a/app/client.js b/app/client.js index 0d3fa40..051a7e0 100644 --- a/app/client.js +++ b/app/client.js @@ -1,9 +1,7 @@ import { init } from 'sapper/runtime.js'; import { routes } from './manifest/client.js'; -import App from './App.html'; init({ target: document.querySelector('#sapper'), - routes, - App + routes }); \ No newline at end of file diff --git a/app/server.js b/app/server.js index 663191c..58a6695 100644 --- a/app/server.js +++ b/app/server.js @@ -3,13 +3,12 @@ import polka from 'polka'; import sapper from 'sapper'; import compression from 'compression'; import { routes } from './manifest/server.js'; -import App from './App.html'; polka() // You can also use Express .use( compression({ threshold: 0 }), sirv('assets'), - sapper({ routes, App }) + sapper({ routes }) ) .listen(process.env.PORT) .catch(err => { diff --git a/routes/blog/index.html b/routes/blog/index.html index c02b749..8c0dcbb 100644 --- a/routes/blog/index.html +++ b/routes/blog/index.html @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/routes/index.html b/routes/index.html index f3dffb3..4de5170 100644 --- a/routes/index.html +++ b/routes/index.html @@ -1,7 +1,7 @@