Upgrading
1.x to 2.x (11 Jul 2022)
- If it is a Nexus project, upgrade to at least Nexus 8.0
- Update the following files from the site template:
.babelrc(greatly simplified Jest configuration).browserslistrc(added comment about custom usage data - optional)jest.config.js(simplified and updated to work with Jest 28)webpack.config.js(removeconfig.browsers())
The ~ prefix in imports is now both optional and deprecated, so you can optionally:
- Search-and-replace
@import '~with@import 'in CSS files and Vue<style lang="scss">blocks - Search-and-replace
src="~withsrc="in Vue templates
Note: The ~ still seems to be required when referencing images/fonts with url(), so don't change those for now.