mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-21 14:13:36 +08:00
chore:更换到主分支
This commit is contained in:
16
node_modules/vue/dist/vue.cjs.js
generated
vendored
16
node_modules/vue/dist/vue.cjs.js
generated
vendored
@@ -27,7 +27,9 @@ function initDev() {
|
||||
}
|
||||
|
||||
// This entry is the "full-build" that includes both the runtime
|
||||
initDev();
|
||||
{
|
||||
initDev();
|
||||
}
|
||||
const compileCache = Object.create(null);
|
||||
function compileToFunction(template, options) {
|
||||
if (!shared.isString(template)) {
|
||||
@@ -35,7 +37,7 @@ function compileToFunction(template, options) {
|
||||
template = template.innerHTML;
|
||||
}
|
||||
else {
|
||||
runtimeDom.warn(`invalid template option: `, template);
|
||||
runtimeDom.warn(`invalid template option: `, template);
|
||||
return shared.NOOP;
|
||||
}
|
||||
}
|
||||
@@ -46,7 +48,7 @@ function compileToFunction(template, options) {
|
||||
}
|
||||
if (template[0] === '#') {
|
||||
const el = document.querySelector(template);
|
||||
if ( !el) {
|
||||
if (!el) {
|
||||
runtimeDom.warn(`Template element not found or is empty: ${template}`);
|
||||
}
|
||||
// __UNSAFE__
|
||||
@@ -70,13 +72,13 @@ function compileToFunction(template, options) {
|
||||
// with keys that cannot be mangled, and can be quite heavy size-wise.
|
||||
// In the global build we know `Vue` is available globally so we can avoid
|
||||
// the wildcard object.
|
||||
const render = ( new Function('Vue', code)(runtimeDom__namespace));
|
||||
const render = (new Function('Vue', code)(runtimeDom__namespace));
|
||||
render._rc = true;
|
||||
return (compileCache[key] = render);
|
||||
}
|
||||
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
||||
|
||||
Object.keys(runtimeDom).forEach(function (k) {
|
||||
if (k !== 'default') exports[k] = runtimeDom[k];
|
||||
});
|
||||
exports.compile = compileToFunction;
|
||||
Object.keys(runtimeDom).forEach(function (k) {
|
||||
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = runtimeDom[k];
|
||||
});
|
||||
|
||||
10
node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
10
node_modules/vue/dist/vue.cjs.prod.js
generated
vendored
@@ -2,9 +2,9 @@
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
var compilerDom = require('@vue/compiler-dom');
|
||||
var runtimeDom = require('@vue/runtime-dom');
|
||||
var shared = require('@vue/shared');
|
||||
var compilerDom = require('@vue/compiler-dom');
|
||||
|
||||
function _interopNamespace(e) {
|
||||
if (e && e.__esModule) return e;
|
||||
@@ -57,13 +57,13 @@ function compileToFunction(template, options) {
|
||||
// with keys that cannot be mangled, and can be quite heavy size-wise.
|
||||
// In the global build we know `Vue` is available globally so we can avoid
|
||||
// the wildcard object.
|
||||
const render = ( new Function('Vue', code)(runtimeDom__namespace));
|
||||
const render = (new Function('Vue', code)(runtimeDom__namespace));
|
||||
render._rc = true;
|
||||
return (compileCache[key] = render);
|
||||
}
|
||||
runtimeDom.registerRuntimeCompiler(compileToFunction);
|
||||
|
||||
Object.keys(runtimeDom).forEach(function (k) {
|
||||
if (k !== 'default') exports[k] = runtimeDom[k];
|
||||
});
|
||||
exports.compile = compileToFunction;
|
||||
Object.keys(runtimeDom).forEach(function (k) {
|
||||
if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = runtimeDom[k];
|
||||
});
|
||||
|
||||
1702
node_modules/vue/dist/vue.esm-browser.js
generated
vendored
1702
node_modules/vue/dist/vue.esm-browser.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
node_modules/vue/dist/vue.esm-browser.prod.js
generated
vendored
2
node_modules/vue/dist/vue.esm-browser.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/vue/dist/vue.esm-bundler.js
generated
vendored
8
node_modules/vue/dist/vue.esm-bundler.js
generated
vendored
@@ -9,14 +9,14 @@ function initDev() {
|
||||
target.__VUE__ = true;
|
||||
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__);
|
||||
{
|
||||
console.info(`You are running a development build of Vue.\n` +
|
||||
`Make sure to use the production build (*.prod.js) when deploying for production.`);
|
||||
initCustomFormatter();
|
||||
}
|
||||
}
|
||||
|
||||
// This entry is the "full-build" that includes both the runtime
|
||||
(process.env.NODE_ENV !== 'production') && initDev();
|
||||
if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
|
||||
initDev();
|
||||
}
|
||||
const compileCache = Object.create(null);
|
||||
function compileToFunction(template, options) {
|
||||
if (!isString(template)) {
|
||||
@@ -63,7 +63,7 @@ function compileToFunction(template, options) {
|
||||
// with keys that cannot be mangled, and can be quite heavy size-wise.
|
||||
// In the global build we know `Vue` is available globally so we can avoid
|
||||
// the wildcard object.
|
||||
const render = ( new Function('Vue', code)(runtimeDom));
|
||||
const render = (new Function('Vue', code)(runtimeDom));
|
||||
render._rc = true;
|
||||
return (compileCache[key] = render);
|
||||
}
|
||||
|
||||
1696
node_modules/vue/dist/vue.global.js
generated
vendored
1696
node_modules/vue/dist/vue.global.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
node_modules/vue/dist/vue.global.prod.js
generated
vendored
2
node_modules/vue/dist/vue.global.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
1163
node_modules/vue/dist/vue.runtime.esm-browser.js
generated
vendored
1163
node_modules/vue/dist/vue.runtime.esm-browser.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
node_modules/vue/dist/vue.runtime.esm-browser.prod.js
generated
vendored
2
node_modules/vue/dist/vue.runtime.esm-browser.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
8
node_modules/vue/dist/vue.runtime.esm-bundler.js
generated
vendored
8
node_modules/vue/dist/vue.runtime.esm-bundler.js
generated
vendored
@@ -7,18 +7,18 @@ function initDev() {
|
||||
target.__VUE__ = true;
|
||||
setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__);
|
||||
{
|
||||
console.info(`You are running a development build of Vue.\n` +
|
||||
`Make sure to use the production build (*.prod.js) when deploying for production.`);
|
||||
initCustomFormatter();
|
||||
}
|
||||
}
|
||||
|
||||
// This entry exports the runtime only, and is built as
|
||||
(process.env.NODE_ENV !== 'production') && initDev();
|
||||
if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {
|
||||
initDev();
|
||||
}
|
||||
const compile = () => {
|
||||
if ((process.env.NODE_ENV !== 'production')) {
|
||||
warn(`Runtime compilation is not supported in this build of Vue.` +
|
||||
( ` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
|
||||
(` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
|
||||
) /* should not happen */);
|
||||
}
|
||||
};
|
||||
|
||||
1160
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
1160
node_modules/vue/dist/vue.runtime.global.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
node_modules/vue/dist/vue.runtime.global.prod.js
generated
vendored
2
node_modules/vue/dist/vue.runtime.global.prod.js
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user