Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koa中加版本号 #11

Open
Clearives opened this issue Sep 3, 2018 · 0 comments
Open

koa中加版本号 #11

Clearives opened this issue Sep 3, 2018 · 0 comments

Comments

@Clearives
Copy link
Owner

1、koa中加版本号

app.use(koaManifestRev({
  manifest: path.join(__dirname, env === 'pro' ? 'build': '', 'rev-manifest.json'),
  prepend: '/'
}));

注意这代码必须加在路由前,不然不生效

@Clearives Clearives changed the title 细节 koa中加版本号 Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant