chore: update config
parent
735183f8c6
commit
05e34009e6
|
@ -1 +1 @@
|
|||
Subproject commit da9df8ad1ca2592994b34b5cecdc813dff94bc77
|
||||
Subproject commit 0946782cced82b75cd9a75a80fa97814381e9d19
|
|
@ -7,7 +7,7 @@ import antd from 'ant-design-vue/index.js';
|
|||
// eslint-disable-next-line no-console
|
||||
console.log('Vue version: ', version);
|
||||
const basic = (_, { slots }) => {
|
||||
return slots?.default();
|
||||
return slots && slots.default && slots.default();
|
||||
};
|
||||
const app = createApp(App);
|
||||
app
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
function loader() {
|
||||
return `
|
||||
<script>
|
||||
export default {
|
||||
render() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
`;
|
||||
}
|
||||
|
||||
module.exports = loader;
|
|
@ -139,7 +139,7 @@
|
|||
"prettier": "^1.18.2",
|
||||
"pretty-quick": "^2.0.0",
|
||||
"querystring": "^0.2.0",
|
||||
"raw-loader": "^4.0.0",
|
||||
"raw-loader": "^4.0.1",
|
||||
"reqwest": "^2.0.5",
|
||||
"rimraf": "^3.0.0",
|
||||
"rucksack-css": "^1.0.2",
|
||||
|
|
|
@ -14,6 +14,11 @@ module.exports = {
|
|||
{
|
||||
test: /\.(vue|md)$/,
|
||||
loader: 'vue-loader',
|
||||
exclude: /\.(en-US.md|zh-CN.md)$/,
|
||||
},
|
||||
{
|
||||
test: /\.(en-US.md|zh-CN.md)$/,
|
||||
use: [{ loader: 'vue-loader' }, { loader: './loader.js' }],
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
|
|
Loading…
Reference in New Issue