Skip to content

Commit

Permalink
docs(vue23): Clarify some aspect
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Feb 14, 2023
1 parent d70f097 commit a5e2a5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 3 additions & 4 deletions docs/api/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ Welcome to Trame's documentation!

.. note::

Trame v2 is replacing trame v1 by providing even more flexibility and deployment capabilities.
Now trame officially support desktop, client/server, cloud and Jupyter as execution environment.
But we also refined trame API to make it more robust and future proof.
Some deep redesign will also allow integration of trame components into existing Web applications
Trame supports desktop, client/server, cloud and Jupyter as execution environment.
But we also provide a refined API to make it more robust and future proof.
Trame allow integration of vue2/3 components into its Web applications
while also streamlining community contribution for new widgets.

.. toctree::
Expand Down
7 changes: 1 addition & 6 deletions docs/content/docs/vue23.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default defineConfig({

## Building a vue2/vue3 package with vite

This assume no option API is used but only the composition API.
This assume no option API is used but only the composition API inside `.js` files instead of `.vue`.

__package.json__
```json
Expand All @@ -135,9 +135,6 @@ __package.json__
"build": "vite build",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore --ignore-pattern public"
},
"dependencies": {
"@vitejs/plugin-vue": "^4.0.0"
},
"peerDependencies": {
"vue": "^2.7.0 || ^3.0.0"
},
Expand All @@ -156,10 +153,8 @@ __package.json__
__vite.config.js__
```javascript
import { defineConfig } from "vite";
import vue from '@vitejs/plugin-vue';

export default defineConfig({
plugins: [vue()],
base: "./",
build: {
lib: {
Expand Down

0 comments on commit a5e2a5a

Please sign in to comment.