Comments (2)
去除head的引入链接,在 .vuepress/enhanceApp.js 里面加载vue,然后绑定到window对象上
import vue from 'vue/dist/vue.esm.browser'
export default () => {
window.Vue = vue
}
from vuepress-plugin-demo-block.
去除head的引入链接,在 .vuepress/enhanceApp.js 里面加载vue,然后绑定到window对象上
import vue from 'vue/dist/vue.esm.browser' export default () => { window.Vue = vue }
it works!
from vuepress-plugin-demo-block.
Related Issues (20)
- 一步一步按照教程来做的,但是无法实现 HOT 5
- bug: Functions in vanilla javascript
- Please, how to show angular1.x demo HOT 1
- [Feature request] load demo-block content form an other file
- can support iframe mode ?
- 不能直接使用 .vuepress/components/ 里定义的组件吗 HOT 1
- feat: add codesandbox support
- element-ui的 el-table 不能正常运行显示 HOT 5
- feat: support default script tag HOT 2
- feat: optimize impressions on your phone HOT 1
- 同一个页面插入多个原生模板后,后面模板的样式会覆盖前一个模板的
- 与vuepress-plugin-demo-code这个插件无法同时存在
- fix: docs error while open jsfiddle link
- 支持vuepress2吗?
- 怎么使用 src 下面的组件
- bug: when building docs, reports error. HOT 2
- feat: add vanilla js demo HOT 1
- feat: change style logic
- 如何出现codepen链接 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress-plugin-demo-block.