一、使用步骤
(1)和单页面类似,创建3个文件。
(2)vite.config.ts 里面配置 rollupOptions
(3) 访问http://localhost:3000/src/views/login/index.html 路径;# 后面是router的相关。
(1)和单页面类似,创建3个文件。
(2)vite.config.ts 里面配置 rollupOptions
(3) 访问http://localhost:3000/src/views/login/index.html 路径;# 后面是router的相关。