0.1.14 • Published 3 years ago

@antd-vue/pro-layout v0.1.14

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

vue-demo

Project setup

yarn install

Compiles and hot-reloads for development

yarn start

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint
// console.log(require.resolve('@babel/preset-env'));
// console.log(require.resolve('@vue/babel-plugin-jsx'));
// // @vue/cli-plugin-babel/preset
// console.log(process.env);
module.exports = {
  presets: [
    [
      '@babel/preset-env',
      {
        loose: false,
        debug: false,
        useBuiltIns: 'usage',
        corejs: require('core-js/package.json').version,
        modules: false,
        bugfixes: true,
      },
    ],
    // ['@babel/preset-typescript', {}],
  ],
  plugins: [
    ['@babel/plugin-transform-typescript', { isTSX: true }],
    ['@vue/babel-plugin-jsx', {}],
    // [
    //   'import',
    //   {
    //     libraryName: 'ant-design-vue',
    //     libraryDirectory: 'es',
    //     style: true,
    //   },
    //   'ant-design-vue',
    // ],
    /* @antd-vue/pro-layout 按需引入 */
    // [
    //   'import',
    //   {
    //     libraryName: '@antd-vue/pro-layout',
    //     libraryDirectory: 'es',
    //     style: true,
    //     camel2DashComponentName: false,
    //   },
    //   '@antd-vue/pro-layout',
    // ],
    [
      '@babel/plugin-transform-runtime',
      {
        helpers: false,
      },
    ],
  ],
};
0.1.13

3 years ago

0.1.14

3 years ago

0.1.12

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago