mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
chore: use latest vue version (#1218)
This commit is contained in:
parent
e01f3f8995
commit
f7bd2ff710
@ -166,7 +166,7 @@ export default {
|
|||||||
goCodepen() {
|
goCodepen() {
|
||||||
// since 2.6.2 use code rather than jsfiddle https://blog.codepen.io/documentation/api/prefill/
|
// since 2.6.2 use code rather than jsfiddle https://blog.codepen.io/documentation/api/prefill/
|
||||||
const { script, html, style } = this.codepen
|
const { script, html, style } = this.codepen
|
||||||
const resourcesTpl = '<scr' + 'ipt src="//unpkg.com/vue@3.0.3/dist/vue.global.js"></scr' + 'ipt>' +
|
const resourcesTpl = '<scr' + 'ipt src="//unpkg.com/vue@next"></scr' + 'ipt>' +
|
||||||
'\n<scr' + `ipt src="//unpkg.com/element-plus/lib/index.full.js"></scr` + 'ipt>'
|
'\n<scr' + `ipt src="//unpkg.com/element-plus/lib/index.full.js"></scr` + 'ipt>'
|
||||||
let htmlTpl = `${resourcesTpl}\n<div id="app">\n${html.trim()}\n</div>`
|
let htmlTpl = `${resourcesTpl}\n<div id="app">\n${html.trim()}\n</div>`
|
||||||
let cssTpl = `@import url("//unpkg.com/element-plus/lib/theme-chalk/index.css");\n${(style || '').trim()}\n`
|
let cssTpl = `@import url("//unpkg.com/element-plus/lib/theme-chalk/index.css");\n${(style || '').trim()}\n`
|
||||||
|
Loading…
Reference in New Issue
Block a user