diff --git a/dev/serve.js b/dev/serve.js index 8dfb4a9..43dbfe3 100644 --- a/dev/serve.js +++ b/dev/serve.js @@ -6,8 +6,6 @@ import { NotionRenderer } from "@/entry"; const app = createApp(App); -console.log(app); - app.use(Vue3Katex); app.component("NotionRenderer", NotionRenderer); diff --git a/example/.gitignore b/example/.gitignore index ef8107f..90e126d 100644 --- a/example/.gitignore +++ b/example/.gitignore @@ -1,92 +1,9 @@ -# Created by .ignore support plugin (hsz.mobi) -### Node template -# Logs -/logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# next.js build output -.next - -# nuxt.js build output +node_modules +*.log* .nuxt - -# Nuxt generate +.nitro +.cache +.output +.env dist - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless - -# IDE / Editor -.idea - -# Service worker -sw.* - -# macOS .DS_Store - -# Vim swap files -*.swp - -.output diff --git a/example/.npmrc b/example/.npmrc new file mode 100644 index 0000000..cf04042 --- /dev/null +++ b/example/.npmrc @@ -0,0 +1,2 @@ +shamefully-hoist=true +strict-peer-dependencies=false diff --git a/example/README.md b/example/README.md new file mode 100644 index 0000000..c699c96 --- /dev/null +++ b/example/README.md @@ -0,0 +1,42 @@ +# Nuxt 3 Minimal Starter + +Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. + +## Setup + +Make sure to install the dependencies: + +```bash +# yarn +yarn install + +# npm +npm install + +# pnpm +pnpm install +``` + +## Development Server + +Start the development server on http://localhost:3000 + +```bash +npm run dev +``` + +## Production + +Build the application for production: + +```bash +npm run build +``` + +Locally preview production build: + +```bash +npm run preview +``` + +Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. diff --git a/example/app.vue b/example/app.vue index 8f62b8b..f8eacfa 100644 --- a/example/app.vue +++ b/example/app.vue @@ -1,3 +1,5 @@ diff --git a/example/layouts/default.vue b/example/layouts/default.vue index c853c21..553dba8 100644 --- a/example/layouts/default.vue +++ b/example/layouts/default.vue @@ -1,7 +1,5 @@ diff --git a/example/pages/index.vue b/example/pages/index.vue index 85691da..5d653a7 100644 --- a/example/pages/index.vue +++ b/example/pages/index.vue @@ -1,41 +1,26 @@ -