remove pug

This commit is contained in:
polv committed 2020-12-16 01:12:41 +07:00
1 parent e397c9ae1e
commit 68840c9c60
49 files changed
+1421 -806

No files matched your search

+13 -1
View File
@@ -27,13 +27,24 @@ const config = async (): Promise<NuxtConfig> => {
: 'https://unpkg.com/awsm.css/dist/awsm.min.css',
},
],
script: [
{
src:
'https://unpkg.com/@webcomponents/webcomponentsjs/webcomponents-loader.js',
defer: true,
},
{
type: 'module',
src: '/webcomponents.js',
},
],
},
// Global CSS (https://go.nuxtjs.dev/config-css)
css: [],
// Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)
plugins: [],
plugins: ['~/plugins/format.ts'],
// Auto import components (https://go.nuxtjs.dev/config-components)
components: true,
@@ -58,6 +69,7 @@ const config = async (): Promise<NuxtConfig> => {
env: {
THEME: JSON.stringify(theme),
},
serverMiddleware: [{ path: '/api', handler: '~/server/index.ts' }],
}
}