Comments (5)
Code examples are outdated and based on TypeScript 1 whereas SPFx RC0 uses TypeScript 2. Could you try changing the namespace from ng
to angular
and see if that works for you?
from sp-dev-fx-webparts.
After drop6, SPFx aligned with latest Typescript by using @types instead of tsd. Try to add your angular definition using "@types/angular": "^1.5.20"
for a new project.
For sp-module-loader, it actually changed to sp-loader. The old "ModuleLoader" was changed to "SPComponentLoader". Also change your import to import { SPComponentLoader } from '@microsoft/sp-loader';
.
from sp-dev-fx-webparts.
Yes, that's working. Thanks you for the helpful comment.
from sp-dev-fx-webparts.
Yes, Thanks for the reply. It's worked for me transformed the samle ToDo webpart to the latest angular ng-office-ui-fabric and SharePoint Framework version. Thank you for the support.
from sp-dev-fx-webparts.
It's not working error TS4063: Parameter '$q' of constructor from exported class has or is using private name 'ng'. i get this error message, i don't know what i'm doing wrong but it seems the ng is a private name? But in the code examples it works fine?
from sp-dev-fx-webparts.
Related Issues (20)
- react-kanban-board - Error: Cannot find module 'node:os' HOT 4
- Custom layout template hangs page and never loads entries
- react-script-editor: Your dev environment is running NodeJS version v20.10.0 which does not meet the requirements for running this tool. HOT 1
- react-list-search - HOT 1
- js-advanced-commenting ping user notification? HOT 1
- react-modern-version-history - How to set up and make it work.
- react-calendar - why really slow when first opening a page with this webpart on it? HOT 1
- react-birthdays - HOT 2
- Script editor web part for modern pages stopped working HOT 6
- error while running the webpart
- react-calendar - HOT 1
- Twitter feed not appearing on React Twitter webpart after configuring profile.
- Issue with calendar category component to filter.
- Calendar webpart - Facing issue while creating weekly recurrence event
- react-script-editor - HOT 4
- react-script-editor - cannot add two body HOT 1
- react-script-editor - Will this still work post November 2024? HOT 1
- React Rhythm of Business Calendar not correctly rendering recurring events on month view HOT 8
- Recurring Events not working
- React Pages Hierarchy SPFx - changing the style of button styles HOT 1
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 sp-dev-fx-webparts.