Comments (7)
nr dev
in one shell, and nr docs:dev
in another one doesn't work.
I have to explicitly run pnpm --filter @anu-vue/preset-theme-default build
before launching the doc with nr docs:dev
.
I don't understand what's wrong.
from anu.
It seems stub
in main package.json
doesn't pair well with docs:dev
...
from anu.
We are also getting this error in netlify build.
I didn't get enough time to investigate it, thinking it might be a glitch because it works on my system.
Can't you run docs on your system?
from anu.
No, it doesn't work for me by default. If I git clone a fresh repository, it doesn't work either.
It also doesn't work after nr clean
.
I can run docs only by doing nr dev
in one shell.
I change src
by dist
in uno.config.ts
On a second shell, I run pnpm --filter @anu-vue/preset-theme-default build
. And nr docs:dev
!
from anu.
I experienced the same error.
However I think the right fix is this:
- import { presetThemeDefault } from '../packages/preset-theme-default/src/index'
+ import { presetThemeDefault } from '@anu-vue/preset-theme-default'
At least after that running docs is working again.
from anu.
Let me check this on weekend. I experienced this error after I removed the existing node_modules
dir.
from anu.
This is because when we compiled preset theme default's SCSS to CSS via adding rollup plugin and SCSS import in packages/preset-theme-default/src/index.ts
it gave an error in dev.
In my opinion, it is complaining about CSS/SCSS syntax isn't recognized as valid JS syntax.
To test this, you can either comment that import or remove all the content from that SCSS file and your local clone will work fine.
For now, I have disabled import SCSS to continue the development however this will result in build failure in our actions + when you will build preset-theme-default it won't generate CSS.
Let's keep this issue open until we completely resolve this.
If someone has any updates on this, please let us know.
from anu.
Related Issues (20)
- feat: chip closable advance HOT 2
- Styles are not loaded in the latest Nuxt HOT 7
- [docs] Components such as Select and Radio in the document cannot interact HOT 1
- svelte support HOT 1
- nuxt - anu-vue/volar HOT 3
- update vueuse peerDependencies
- WARN [unocss] include option is deprecated, use content.pipeline.include instead. HOT 2
- Tabs border does not respond to window size change HOT 1
- [unocss] include option is deprecated, use content.pipeline.include instead. But, I didn't use include.
- Colors broken with UnoCSS v0.57 HOT 7
- Have a Bug in the switch component? HOT 3
- typescript types error๏ผ HOT 2
- ๐คน๐ปโโ๏ธ Framework stability in Vue Ecosystem & my vision HOT 4
- update vue peerDependencies HOT 1
- How the selection box sets the properties of the display HOT 1
- [Select] Feature request: Groups for the select element
- v1
- List component unusable with TypeScript HOT 4
- ADatatable : event on clicked / hovered
- Style conflict vitepress HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anu.