Skip to content

[question] 这里为什么是require和import混用的呢? #3

@muzea

Description

@muzea

const view = require('think-view');
const model = require('think-model');
const cache = require('think-cache');
const session = require('think-session');
import { think } from 'thinkjs';

按道理是可以全部使用 import 的吧?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions