├── .github
├── FUNDING.yml
└── workflows
│ ├── release.yml
│ └── ci.yml
├── .npmrc
├── nuxt.d.ts
├── CONTRIBUTING.md
├── pnpm-workspace.yaml
├── test
├── cases
│ ├── basic
│ │ ├── input.html
│ │ ├── output.ssr.js
│ │ └── output.csr.js
│ ├── v-show-lazy
│ │ ├── input.html
│ │ ├── output.ssr.js
│ │ └── output.csr.js
│ ├── event-props
│ │ ├── input.html
│ │ ├── output.ssr.js
│ │ └── output.csr.js
│ ├── expressions
│ │ ├── input.html
│ │ ├── output.ssr.js
│ │ └── output.csr.js
│ └── dynamic-attrs
│ │ ├── input.html
│ │ ├── output.ssr.js
│ │ └── output.csr.js
└── index.test.ts
├── playgrounds
├── vite
│ ├── src
│ │ ├── main.ts
│ │ ├── shims-vue.d.ts
│ │ ├── HelloWorld.vue
│ │ └── App.vue
│ ├── index.html
│ ├── tsconfig.json
│ ├── package.json
│ └── vite.config.ts
└── nuxt
│ ├── tsconfig.json
│ ├── package.json
│ ├── HelloWorld.vue
│ ├── nuxt.config.ts
│ └── app.vue
├── .gitignore
├── eslint.config.js
├── src
├── nuxt.ts
└── index.ts
├── tsconfig.json
├── LICENSE
├── .vscode
└── settings.json
├── package.json
└── README.md
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: [antfu]
2 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | ignore-workspace-root-check=true
2 |
--------------------------------------------------------------------------------
/nuxt.d.ts:
--------------------------------------------------------------------------------
1 | export { default } from './dist/nuxt.d'
2 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please refer to https://github.com/antfu/contribute
2 |
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - playgrounds/*
3 | - examples/*
4 |
--------------------------------------------------------------------------------
/test/cases/basic/input.html:
--------------------------------------------------------------------------------
1 |
2 | Hello
3 |
4 |
--------------------------------------------------------------------------------
/test/cases/v-show-lazy/input.html:
--------------------------------------------------------------------------------
1 |
2 | Hello
3 |
4 |
--------------------------------------------------------------------------------
/test/cases/event-props/input.html:
--------------------------------------------------------------------------------
1 |
2 | Hello
3 |
4 |
--------------------------------------------------------------------------------
/playgrounds/vite/src/main.ts:
--------------------------------------------------------------------------------
1 | import { createApp } from 'vue'
2 | import App from './App.vue'
3 |
4 | createApp(App).mount('#app')
5 |
--------------------------------------------------------------------------------
/test/cases/expressions/input.html:
--------------------------------------------------------------------------------
1 |
hello
2 |
3 | world
4 |
--------------------------------------------------------------------------------
/playgrounds/nuxt/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | // https://nuxt.com/docs/guide/concepts/typescript
3 | "extends": "./.nuxt/tsconfig.json"
4 | }
5 |
--------------------------------------------------------------------------------
/test/cases/dynamic-attrs/input.html:
--------------------------------------------------------------------------------
1 |
2 | hello world
3 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .cache
2 | .DS_Store
3 | .idea
4 | *.log
5 | *.tgz
6 | coverage
7 | dist
8 | lib-cov
9 | logs
10 | node_modules
11 | temp
12 | .nuxt
13 | .output
14 |
--------------------------------------------------------------------------------
/playgrounds/vite/src/shims-vue.d.ts:
--------------------------------------------------------------------------------
1 | declare module '*.vue' {
2 | import type { DefineComponent } from 'vue'
3 |
4 | const component: DefineComponent