Skip to content

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

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 的吧?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions