• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

vue3 vite配置全局变量较少


Recommended Posts

1.装置

npm安装较少

npm安装较少-加载程序

如果是,则不需要安装;如果没有,则需要安装。

2.定义变量文件。

如globle.less,添加变量如

hx1z2suiidc3299.png

3.Configure-vite.config.ts

ib0qyx1cb513300.png

3.使用

wmmwgzxwdgt3301.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now