feat(site): update mcfly
This commit is contained in:
parent
f08391d13f
commit
0cfeb51554
10 changed files with 345 additions and 156 deletions
480
pnpm-lock.yaml
480
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
import { defineMcFlyConfig } from '#imports'
|
||||
import { defineMcFlyConfig } from '@mcflyjs/config'
|
||||
export default defineMcFlyConfig({
|
||||
components: 'js',
|
||||
})
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
export default defineNitroConfig({ extends: '@mcflyjs/config' })
|
|
@ -7,13 +7,12 @@
|
|||
"dev": "mcfly serve",
|
||||
"build": "mcfly build",
|
||||
"preview": "node .output/server/index.mjs",
|
||||
"build:preview": "pnpm run build && pnpm run preview"
|
||||
"build:preview": "pnpm run build && pnpm run preview",
|
||||
"deploy": "netlify deploy --site=$NETLIFY_SITE_ID --dir=dist --prod"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mcflyjs/cli": "^0.0.27",
|
||||
"@mcflyjs/config": "^0.1.5",
|
||||
"@mcflyjs/core": "^0.5.4",
|
||||
"nitropack": "~2.10.4"
|
||||
"@mcflyjs/config": "^0.2.7",
|
||||
"@mcflyjs/core": "^0.8.5"
|
||||
},
|
||||
"version": "0.0.1",
|
||||
"main": "index.js",
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
/**
|
||||
* McFly SSR logic
|
||||
* 👋 this is not the route you're looking for
|
||||
* ...pages are in ./src/pages
|
||||
* ...reusable code are in ./src/components
|
||||
* @see https://ayco.io/gh/McFly#special-directories
|
||||
*/
|
||||
import config from '../mcfly.config.mjs'
|
||||
export default useMcFlyRoute({ config, storage: useStorage() })
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue